Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Delf.c335 } else if (last_bind != STB_WEAK && cur_bind != STB_WEAK) { in elf_find_func_offset()
341 } else if (cur_bind == STB_WEAK) { in elf_find_func_offset()
465 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets()
471 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets()
H A Dlinker.c951 if (sym_bind != STB_LOCAL && sym_bind != STB_GLOBAL && sym_bind != STB_WEAK) { in linker_sanity_check_elf_symtab()
2075 && !glob_sym->is_weak && sym_bind != STB_WEAK) { in linker_append_elf_sym()
2121 if (!glob_sym->is_extern && sym_bind == STB_WEAK) in linker_append_elf_sym()
2188 glob_sym->is_weak = sym_bind == STB_WEAK; in linker_append_elf_sym()
H A Dlibbpf.c1713 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in find_elf_var_sym()
4015 (bind == STB_GLOBAL || bind == STB_WEAK) && in sym_is_extern()
4033 return (bind == STB_GLOBAL || bind == STB_WEAK) && type == STT_FUNC; in sym_is_subprog()
4271 ext->is_weak = ELF64_ST_BIND(sym->st_info) == STB_WEAK; in bpf_object__collect_externs()
/linux-6.15/tools/lib/symbol/
H A Dkallsyms.h16 return STB_WEAK; in kallsyms2elf_binding()
/linux-6.15/tools/testing/selftests/vDSO/
H A Dparse_vdso.c247 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in check_sym()
/linux-6.15/tools/include/uapi/linux/
H A Delf.h129 #define STB_WEAK 2 macro
/linux-6.15/arch/mips/kernel/
H A Dmodule.c333 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
/linux-6.15/include/uapi/linux/
H A Delf.h129 #define STB_WEAK 2 macro
/linux-6.15/kernel/module/
H A Dkallsyms.c42 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in elf_type()
H A Dmain.c1472 (ELF_ST_BIND(sym[i].st_info) == STB_WEAK || in simplify_symbols()
/linux-6.15/scripts/mod/
H A Dmodpost.c624 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol()
642 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol()
1084 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol()
/linux-6.15/arch/loongarch/kernel/
H A Dmodule.c447 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux-6.15/tools/perf/util/
H A Dsymbol.c167 a = syma->binding == STB_WEAK; in choose_best_symbol()
168 b = symb->binding == STB_WEAK; in choose_best_symbol()
1595 return STB_WEAK; in bfd2elf_binding()
/linux-6.15/arch/mips/boot/tools/
H A Drelocs.c511 if ((bind == STB_WEAK) && (sym->st_value == 0)) { in do_reloc()
/linux-6.15/tools/perf/Documentation/
H A Dperf-dlfilter.txt206 __u8 sym_binding; /* STB_LOCAL, STB_GLOBAL or STB_WEAK, refer <elf.h> */
/linux-6.15/arch/riscv/kernel/
H A Dmodule.c802 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux-6.15/arch/x86/tools/
H A Drelocs.c181 SYM_BIND(STB_WEAK), in sym_bind()
/linux-6.15/tools/objtool/
H A Dcheck.c262 if (func->bind == STB_GLOBAL || func->bind == STB_WEAK) { in __dead_end_function()
271 if (func->bind == STB_WEAK) in __dead_end_function()