Home
last modified time | relevance | path

Searched refs:STB_WEAK (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSymbolELF.cpp55 case ELF::STB_WEAK: in setBinding()
77 return ELF::STB_WEAK; in getBinding()
88 return ELF::STB_WEAK; in getBinding()
H A DMCELFStreamer.cpp201 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 DSymbols.cpp373 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 DInputFiles.cpp1241 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 DSymbols.h183 bool isWeak() const { return binding == llvm::ELF::STB_WEAK; } in isWeak()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp138 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 Ddt_link.c1418 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 Ddt_module.c201 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 DELFLinkGraphBuilder.h237 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 DELFObjHandler.cpp216 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 Dnlist.c288 ELF_ST_BIND(s->st_info) == STB_WEAK) in elf_sym_to_nlist()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c251 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 Drtld.c2042 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 DELFObjcopy.cpp348 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 DELFHeader.cpp267 ENUM_TO_CSTR(STB_WEAK); in bindingToCString()
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/
H A Dcfi.cpp270 p->st_info == ELF32_ST_INFO(STB_WEAK, STT_FUNC)); in find_cfi_check_in_dso()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsymbols.c122 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 Darchive.c314 GELF_ST_BIND(sym.st_info) != STB_WEAK) in extract_arsym()
/freebsd/lib/libproc/
H A Dproc_sym.c689 if (GELF_ST_BIND(sym.st_info) == STB_WEAK && in proc_iter_symbyaddr()
/freebsd/contrib/elftoolchain/nm/
H A Dnm.c759 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 Delf_common.h876 #define STB_WEAK 2 /* like global - lower precedence */ macro
/freebsd/contrib/elftoolchain/ar/
H A Dwrite.c885 GELF_ST_BIND(sym.st_info) != STB_WEAK) in create_symtab_entry()
/freebsd/usr.bin/ar/
H A Dwrite.c811 GELF_ST_BIND(sym.st_info) != STB_WEAK) in create_symtab_entry()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1320 STB_WEAK = 2, // Weak symbol, like global but lower-precedence enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h402 (Binding == ELF::STB_GLOBAL || Binding == ELF::STB_WEAK || in isExportedToOtherDSO()
761 if (ESym->getBinding() == ELF::STB_WEAK) in getSymbolFlags()

12