/linux-6.6.21/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 213 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/ |
D | vma.c | 129 osym->st_info = nsym->st_info; in patchsym64() 197 osym->st_info = nsym->st_info; in patchsym32()
|
/linux-6.6.21/tools/lib/bpf/ |
D | elf.c | 128 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()
|
D | linker.c | 431 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/ |
D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
/linux-6.6.21/tools/objtool/ |
D | elf.c | 403 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()
|
D | orc_dump.c | 177 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
|
/linux-6.6.21/include/uapi/linux/ |
D | elf.h | 192 unsigned char st_info; member 199 unsigned char st_info; /* Type and binding attributes */ member
|
/linux-6.6.21/scripts/mod/ |
D | modpost.c | 634 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/ |
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.6.21/tools/perf/util/ |
D | genelf.c | 85 .st_info = ELF_ST_TYPE(STT_NOTYPE), 92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
D | symbol-elf.c | 108 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/ |
D | module.c | 76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
|
/linux-6.6.21/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.6.21/arch/alpha/kernel/ |
D | module.c | 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
/linux-6.6.21/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.6.21/arch/mips/kernel/ |
D | module.c | 344 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
/linux-6.6.21/arch/x86/kernel/ |
D | machine_kexec_64.c | 443 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
|
/linux-6.6.21/arch/arm/kernel/ |
D | module.c | 316 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | module.c | 364 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux-6.6.21/arch/x86/tools/ |
D | relocs.c | 623 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/ |
D | module.c | 446 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux-6.6.21/arch/mips/boot/tools/ |
D | relocs.c | 504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
|
/linux-6.6.21/kernel/ |
D | kexec_file.c | 1080 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
|