Home
last modified time | relevance | path

Searched refs:st_info (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/vDSO/
Dparse_vdso.c225 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC && in vdso_sym()
226 ELF64_ST_TYPE(sym->st_info) != STT_NOTYPE) in vdso_sym()
228 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
229 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/linux-6.12.1/arch/sparc/vdso/
Dvma.c129 osym->st_info = nsym->st_info; in patchsym64()
197 osym->st_info = nsym->st_info; in patchsym32()
/linux-6.12.1/arch/arm/include/asm/
Dmodule.h50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/linux-6.12.1/tools/lib/bpf/
Delf.c170 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next()
330 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset()
451 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
Dlinker.c431 init_sym->st_info = 0; in init_output_elf()
808 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab()
809 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab()
813 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab()
1827 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind()
1832 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1856 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1857 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym()
2006 dst_sym->st_info = sym->st_info; in linker_append_elf_sym()
2104 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos()
[all …]
/linux-6.12.1/tools/objtool/
Delf.c401 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol()
402 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol()
498 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols()
742 if (GELF_ST_BIND(sym->sym.st_info) != STB_LOCAL) in __elf_create_symbol()
805 sym->sym.st_info = GELF_ST_INFO(STB_LOCAL, STT_SECTION); in elf_create_section_symbol()
837 sym->sym.st_info = orig->sym.st_info; in elf_create_prefix_symbol()
Dorc_dump.c122 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
/linux-6.12.1/include/uapi/linux/
Delf.h192 unsigned char st_info; member
199 unsigned char st_info; /* Type and binding attributes */ member
/linux-6.12.1/scripts/mod/
Dmodpost.c616 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol()
617 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol()
624 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol()
635 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol()
1076 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in check_export_symbol()
1077 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol()
1108 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
1116 ELF_ST_TYPE(sym->st_info) == STT_LOPROC) in check_export_symbol()
Dsymsearch.c87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
/linux-6.12.1/arch/arc/kernel/
Dmodule.c85 if (sym_entry->st_name == 0 && ELF_ST_TYPE (sym_entry->st_info) == STT_SECTION) { in apply_relocate_add()
/linux-6.12.1/tools/perf/util/
Dgenelf.c80 .st_info = ELF_ST_TYPE(STT_NOTYPE),
87 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
Dsymbol-elf.c109 return GELF_ST_TYPE(sym->st_info); in elf_sym__type()
1735 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
1784 GELF_ST_BIND(sym.st_info), in dso__load_sym_internal()
1785 GELF_ST_TYPE(sym.st_info), elf_name); in dso__load_sym_internal()
/linux-6.12.1/arch/sparc/kernel/
Dmodule.c46 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
/linux-6.12.1/kernel/module/
Dkallsyms.c42 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in elf_type()
43 if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT) in elf_type()
/linux-6.12.1/arch/alpha/kernel/
Dmodule.c258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
/linux-6.12.1/scripts/
Drecordmcount.h532 unsigned int const st_bind = ELF_ST_BIND(symp->st_info); in find_secsym_ndx()
539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
Dsorttable.h432 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
/linux-6.12.1/arch/mips/kernel/
Dmodule.c333 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
/linux-6.12.1/arch/x86/tools/
Drelocs.c614 sym_type(ELF_ST_TYPE(sym->st_info)), in print_absolute_symbols()
615 sym_bind(ELF_ST_BIND(sym->st_info)), in print_absolute_symbols()
/linux-6.12.1/arch/arm/kernel/
Dmodule.c282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
/linux-6.12.1/arch/x86/kernel/
Dmachine_kexec_64.c474 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule.c447 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux-6.12.1/arch/mips/boot/tools/
Drelocs.c504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
/linux-6.12.1/arch/riscv/kernel/
Dmodule.c811 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()

12