/linux-6.12.1/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 225 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/ |
D | vma.c | 129 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/ |
D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
/linux-6.12.1/tools/lib/bpf/ |
D | elf.c | 170 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()
|
D | linker.c | 431 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/ |
D | elf.c | 401 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()
|
D | orc_dump.c | 122 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
|
/linux-6.12.1/include/uapi/linux/ |
D | elf.h | 192 unsigned char st_info; member 199 unsigned char st_info; /* Type and binding attributes */ member
|
/linux-6.12.1/scripts/mod/ |
D | modpost.c | 616 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()
|
D | symsearch.c | 87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
|
/linux-6.12.1/arch/arc/kernel/ |
D | module.c | 85 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/ |
D | genelf.c | 80 .st_info = ELF_ST_TYPE(STT_NOTYPE), 87 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
D | symbol-elf.c | 109 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/ |
D | module.c | 46 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
|
/linux-6.12.1/kernel/module/ |
D | kallsyms.c | 42 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/ |
D | module.c | 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
/linux-6.12.1/scripts/ |
D | recordmcount.h | 532 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()
|
D | sorttable.h | 432 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
|
/linux-6.12.1/arch/mips/kernel/ |
D | module.c | 333 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
/linux-6.12.1/arch/x86/tools/ |
D | relocs.c | 614 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/ |
D | module.c | 282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
/linux-6.12.1/arch/x86/kernel/ |
D | machine_kexec_64.c | 474 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | module.c | 447 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux-6.12.1/arch/mips/boot/tools/ |
D | relocs.c | 504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | module.c | 811 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|