/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSymbolELF.cpp | 55 case ELF::STB_WEAK: in setBinding() 77 return ELF::STB_WEAK; in getBinding() 88 return ELF::STB_WEAK; in getBinding()
|
H A D | MCELFStreamer.cpp | 201 if (Symbol->isBindingSet() && Symbol->getBinding() != ELF::STB_WEAK) in emitSymbolAttribute() 204 Symbol->setBinding(ELF::STB_WEAK); in emitSymbolAttribute()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Symbols.cpp | 373 sym.binding != STB_WEAK) || in computeIsPreemptible() 376 sym.binding != STB_WEAK)) in computeIsPreemptible() 408 (isUndefined() && other.binding != STB_WEAK && other.discardedSecIdx)) { in resolve() 419 if (other.binding == STB_WEAK) { in resolve() 420 binding = STB_WEAK; in resolve() 504 if (other.binding != STB_WEAK || !referenced) in resolve() 655 binding = STB_WEAK; in resolve()
|
H A D | InputFiles.cpp | 1241 if (LLVM_UNLIKELY(binding != STB_GLOBAL && binding != STB_WEAK && in postParse() 1286 if (sym.binding == STB_WEAK || binding == STB_WEAK) in postParse() 1583 if (sym.getBinding() != STB_WEAK && in parse() 1746 uint8_t binding = objSym.isWeak() ? STB_WEAK : STB_GLOBAL; in createBitcodeSymbol()
|
H A D | Symbols.h | 183 bool isWeak() const { return binding == llvm::ELF::STB_WEAK; } in isWeak()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 138 IsWeak ? llvm::ELF::STB_WEAK : llvm::ELF::STB_GLOBAL, in WriteNamedDecl() 322 if (Symbol.Binding == llvm::ELF::STB_WEAK) in HandleTranslationUnit()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 1418 if (GELF_ST_BIND(fsym.st_info) == STB_WEAK) { in process_obj() 1429 if (GELF_ST_BIND(fsym.st_info) == STB_WEAK) { in process_obj() 1585 bind = GELF_ST_BIND(fsym.st_info) == STB_WEAK ? in process_obj() 1586 STB_WEAK : STB_GLOBAL; in process_obj() 1610 if (bind == STB_WEAK) { in process_obj() 1620 if (bind == STB_WEAK) { in process_obj() 1686 rsym.st_info = GELF_ST_INFO(STB_WEAK, STT_FUNC); in process_obj()
|
H A D | dt_module.c | 201 if ((ELF32_ST_BIND(lhs->st_info) == STB_WEAK) != in dt_module_symcomp32() 202 (ELF32_ST_BIND(rhs->st_info) == STB_WEAK)) in dt_module_symcomp32() 203 return (ELF32_ST_BIND(lhs->st_info) == STB_WEAK ? 1 : -1); in dt_module_symcomp32() 230 if ((ELF64_ST_BIND(lhs->st_info) == STB_WEAK) != in dt_module_symcomp64() 231 (ELF64_ST_BIND(rhs->st_info) == STB_WEAK)) in dt_module_symcomp64() 232 return (ELF64_ST_BIND(lhs->st_info) == STB_WEAK ? 1 : -1); in dt_module_symcomp64()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELFLinkGraphBuilder.h | 237 case ELF::STB_WEAK: in getSymbolLinkageAndScope() 555 Sym.getBinding() != ELF::STB_WEAK) in graphifySymbols() 564 Sym.getBinding() == ELF::STB_WEAK); in graphifySymbols()
|
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/ |
H A D | ELFObjHandler.cpp | 216 uint8_t Bind = Sym.Weak ? STB_WEAK : STB_GLOBAL; in ELFStubBuilder() 524 if (Binding == STB_WEAK) in createELFSym() 554 if (!(Binding == STB_GLOBAL || Binding == STB_WEAK)) in populateSymbols()
|
/freebsd/lib/libc/gen/ |
H A D | nlist.c | 288 ELF_ST_BIND(s->st_info) == STB_WEAK) in elf_sym_to_nlist()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 251 if (GELF_ST_BIND(weak->st_info) != STB_WEAK) in check_for_weak() 273 if (GELF_ST_BIND(sym.st_info) == STB_WEAK) in check_for_weak()
|
/freebsd/libexec/rtld-elf/ |
H A D | rtld.c | 2042 if (def == NULL && ELF_ST_BIND(ref->st_info) == STB_WEAK) { in find_symdef() 3982 STB_WEAK)) { in do_dlsym() 3987 STB_WEAK) in do_dlsym() 4001 ELF_ST_BIND(def->st_info) == STB_WEAK) { in do_dlsym() 4039 ELF_ST_BIND(def->st_info) == STB_WEAK) { in do_dlsym() 4632 ELF_ST_BIND(req->sym_out->st_info) == STB_WEAK)) { in symlook_global() 4635 ELF_ST_BIND(req1.sym_out->st_info) != STB_WEAK)) { in symlook_global() 4645 ELF_ST_BIND(req->sym_out->st_info) != STB_WEAK)) in symlook_global() 4649 ELF_ST_BIND(req1.sym_out->st_info) != STB_WEAK)) { in symlook_global() 4696 ELF_ST_BIND(req->sym_out->st_info) != STB_WEAK)) in symlook_default() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 348 Sym.Binding = STB_WEAK; in updateAndRemoveSymbols() 352 Sym.Binding = STB_WEAK; in updateAndRemoveSymbols() 582 Bind = ELF::STB_WEAK; in addSymbol()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 267 ENUM_TO_CSTR(STB_WEAK); in bindingToCString()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 270 p->st_info == ELF32_ST_INFO(STB_WEAK, STT_FUNC)); in find_cfi_check_in_dso()
|
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | symbols.c | 122 if (GELF_ST_BIND(st_info) == STB_WEAK) in is_weak_symbol() 529 sym.st_info = GELF_ST_INFO(STB_WEAK, in generate_symbols()
|
H A D | archive.c | 314 GELF_ST_BIND(sym.st_info) != STB_WEAK) in extract_arsym()
|
/freebsd/lib/libproc/ |
H A D | proc_sym.c | 689 if (GELF_ST_BIND(sym.st_info) == STB_WEAK && in proc_iter_symbyaddr()
|
/freebsd/contrib/elftoolchain/nm/ |
H A D | nm.c | 759 if ((sym->st_info) >> 4 == STB_WEAK) { /* weak */ in get_sym_type() 1811 info == STB_WEAK); in sym_elem_global_static()
|
/freebsd/sys/sys/ |
H A D | elf_common.h | 876 #define STB_WEAK 2 /* like global - lower precedence */ macro
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | write.c | 885 GELF_ST_BIND(sym.st_info) != STB_WEAK) in create_symtab_entry()
|
/freebsd/usr.bin/ar/ |
H A D | write.c | 811 GELF_ST_BIND(sym.st_info) != STB_WEAK) in create_symtab_entry()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | ELF.h | 1320 STB_WEAK = 2, // Weak symbol, like global but lower-precedence enumerator
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELFObjectFile.h | 402 (Binding == ELF::STB_GLOBAL || Binding == ELF::STB_WEAK || in isExportedToOtherDSO() 761 if (ESym->getBinding() == ELF::STB_WEAK) in getSymbolFlags()
|