Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/vDSO/
Dparse_vdso.c213 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
215 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
216 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/linux-6.6.21/arch/sparc/vdso/
Dvma.c129 osym->st_info = nsym->st_info; in patchsym64()
197 osym->st_info = nsym->st_info; in patchsym32()
/linux-6.6.21/tools/lib/bpf/
Delf.c128 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next()
213 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset()
330 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()
789 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab()
790 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab()
794 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab()
1794 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind()
1799 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1823 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1824 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym()
1973 dst_sym->st_info = sym->st_info; in linker_append_elf_sym()
2071 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos()
[all …]
/linux-6.6.21/arch/arm/include/asm/
Dmodule.h50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/linux-6.6.21/tools/objtool/
Delf.c403 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol()
404 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol()
500 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols()
744 if (GELF_ST_BIND(sym->sym.st_info) != STB_LOCAL) in __elf_create_symbol()
807 sym->sym.st_info = GELF_ST_INFO(STB_LOCAL, STT_SECTION); in elf_create_section_symbol()
839 sym->sym.st_info = orig->sym.st_info; in elf_create_prefix_symbol()
Dorc_dump.c177 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
/linux-6.6.21/include/uapi/linux/
Delf.h192 unsigned char st_info; member
199 unsigned char st_info; /* Type and binding attributes */ member
/linux-6.6.21/scripts/mod/
Dmodpost.c634 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol()
635 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol()
642 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol()
653 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol()
1085 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in find_nearest_sym()
1200 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in check_export_symbol()
1201 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol()
1232 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
1240 ELF_ST_TYPE(sym->st_info) == STT_LOPROC) in check_export_symbol()
/linux-6.6.21/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.6.21/tools/perf/util/
Dgenelf.c85 .st_info = ELF_ST_TYPE(STT_NOTYPE),
92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
Dsymbol-elf.c108 return GELF_ST_TYPE(sym->st_info); in elf_sym__type()
1670 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
1714 GELF_ST_BIND(sym.st_info), in dso__load_sym_internal()
1715 GELF_ST_TYPE(sym.st_info), elf_name); in dso__load_sym_internal()
/linux-6.6.21/arch/sparc/kernel/
Dmodule.c76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
/linux-6.6.21/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.6.21/arch/alpha/kernel/
Dmodule.c258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
/linux-6.6.21/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.6.21/arch/mips/kernel/
Dmodule.c344 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
/linux-6.6.21/arch/x86/kernel/
Dmachine_kexec_64.c443 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
/linux-6.6.21/arch/arm/kernel/
Dmodule.c316 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
/linux-6.6.21/arch/riscv/kernel/
Dmodule.c364 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux-6.6.21/arch/x86/tools/
Drelocs.c623 sym_type(ELF_ST_TYPE(sym->st_info)), in print_absolute_symbols()
624 sym_bind(ELF_ST_BIND(sym->st_info)), in print_absolute_symbols()
/linux-6.6.21/arch/loongarch/kernel/
Dmodule.c446 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux-6.6.21/arch/mips/boot/tools/
Drelocs.c504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
/linux-6.6.21/kernel/
Dkexec_file.c1080 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()

12