| /linux-6.15/tools/testing/selftests/vDSO/ |
| H A D | parse_vdso.c | 244 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym() 246 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in check_sym() 247 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in check_sym()
|
| /linux-6.15/drivers/pci/ |
| H A D | tph.c | 38 union st_info { union 57 union st_info *info) in tph_extract_tag() 93 union st_info *st_out) in tph_invoke_dsm() 284 union st_info info; in pcie_tph_get_cpu_st()
|
| /linux-6.15/arch/sparc/vdso/ |
| H A D | vma.c | 129 osym->st_info = nsym->st_info; in patchsym64() 197 osym->st_info = nsym->st_info; in patchsym32()
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | elf.c | 168 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next() 328 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset() 449 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
|
| H A D | linker.c | 482 init_sym->st_info = 0; in init_output_elf() 938 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab() 939 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab() 943 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab() 1979 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind() 1984 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type() 2008 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym() 2009 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym() 2158 dst_sym->st_info = sym->st_info; in linker_append_elf_sym() 2256 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos() [all …]
|
| /linux-6.15/tools/objtool/ |
| H A D | elf.c | 405 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol() 406 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol() 501 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols() 743 if (GELF_ST_BIND(sym->sym.st_info) != STB_LOCAL) in __elf_create_symbol() 806 sym->sym.st_info = GELF_ST_INFO(STB_LOCAL, STT_SECTION); in elf_create_section_symbol() 838 sym->sym.st_info = orig->sym.st_info; in elf_create_prefix_symbol()
|
| H A D | orc_dump.c | 119 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | elf.h | 200 unsigned char st_info; member 207 unsigned char st_info; /* Type and binding attributes */ member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | elf.h | 200 unsigned char st_info; member 207 unsigned char st_info; /* Type and binding attributes */ member
|
| /linux-6.15/scripts/mod/ |
| H A D | modpost.c | 623 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol() 624 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol() 631 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol() 642 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol() 1083 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in check_export_symbol() 1084 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol() 1115 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol() 1123 ELF_ST_TYPE(sym->st_info) == STT_LOPROC) in check_export_symbol()
|
| H A D | symsearch.c | 87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
|
| /linux-6.15/arch/arc/kernel/ |
| H A 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.15/tools/perf/util/ |
| H A D | genelf.c | 80 .st_info = ELF_ST_TYPE(STT_NOTYPE), 87 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | module.c | 46 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
|
| /linux-6.15/kernel/module/ |
| H A 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.15/arch/alpha/kernel/ |
| H A D | module.c | 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
| /linux-6.15/scripts/ |
| H A 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()
|
| H A D | sorttable.c | 259 return ELF64_ST_TYPE(sym->e64.st_info); 264 return ELF32_ST_TYPE(sym->e32.st_info); in sym32_type()
|
| /linux-6.15/scripts/gendwarfksyms/ |
| H A D | symbols.c | 260 if (GELF_ST_BIND(sym->st_info) == STB_LOCAL) in elf_for_each_global()
|
| /linux-6.15/arch/mips/kernel/ |
| H A D | module.c | 333 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
| /linux-6.15/arch/x86/tools/ |
| H A D | relocs.c | 589 sym_type(ELF_ST_TYPE(sym->st_info)), in print_absolute_symbols() 590 sym_bind(ELF_ST_BIND(sym->st_info)), in print_absolute_symbols()
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | module.c | 282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | machine_kexec_64.c | 494 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
|
| /linux-6.15/arch/loongarch/kernel/ |
| H A D | module.c | 447 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|