/linux-6.3-rc2/tools/testing/selftests/vDSO/ |
A 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.3-rc2/arch/sparc/vdso/ |
A D | vma.c | 129 osym->st_info = nsym->st_info; in patchsym64() 197 osym->st_info = nsym->st_info; in patchsym32()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | module.h | 50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
/linux-6.3-rc2/tools/lib/bpf/ |
A 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() 1782 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind() 1787 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type() 1811 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym() 1812 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym() 1961 dst_sym->st_info = sym->st_info; in linker_append_elf_sym() 2066 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos() [all …]
|
A D | libbpf.c | 808 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs() 860 if (ELF64_ST_BIND(sym->st_info) != STB_LOCAL in bpf_object__add_programs() 1438 if (ELF64_ST_TYPE(sym->st_info) != STT_OBJECT) in find_elf_var_sym() 1441 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in find_elf_var_sym() 1442 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in find_elf_var_sym() 3504 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_extern() 3508 ELF64_ST_TYPE(sym->st_info) == STT_NOTYPE; in sym_is_extern() 3513 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_subprog() 3514 int type = ELF64_ST_TYPE(sym->st_info); in sym_is_subprog() 10612 if (GELF_ST_TYPE(sym.st_info) != STT_FUNC) in elf_find_func_offset() [all …]
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | elf.h | 192 unsigned char st_info; member 199 unsigned char st_info; /* Type and binding attributes */ member
|
/linux-6.3-rc2/tools/objtool/ |
A D | elf.c | 363 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol() 364 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol() 460 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols() 739 if (GELF_ST_BIND(sym->sym.st_info) != STB_LOCAL) in __elf_create_symbol() 801 sym->sym.st_info = GELF_ST_INFO(STB_LOCAL, STT_SECTION); in elf_create_section_symbol() 833 sym->sym.st_info = orig->sym.st_info; in elf_create_prefix_symbol()
|
A D | orc_dump.c | 174 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
|
/linux-6.3-rc2/arch/arc/kernel/ |
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.3-rc2/tools/perf/util/ |
A D | genelf.c | 85 .st_info = ELF_ST_TYPE(STT_NOTYPE), 92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
|
A D | symbol-elf.c | 119 return GELF_ST_TYPE(sym->st_info); in elf_sym__type() 1645 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal() 1689 GELF_ST_BIND(sym.st_info), in dso__load_sym_internal() 1690 GELF_ST_TYPE(sym.st_info), elf_name); in dso__load_sym_internal()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | module.c | 76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
|
/linux-6.3-rc2/kernel/module/ |
A D | kallsyms.c | 41 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in elf_type() 42 if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT) in elf_type()
|
/linux-6.3-rc2/scripts/mod/ |
A D | modpost.c | 633 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol() 634 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol() 641 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol() 652 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol() 1163 if (ELF_ST_TYPE(sym->st_info) == STT_SECTION) in find_elf_symbol() 1219 return ELF_ST_TYPE(sym->st_info) == STT_FUNC; in is_function()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | module.c | 258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
/linux-6.3-rc2/scripts/ |
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()
|
A D | sorttable.h | 432 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | module.c | 344 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | module.c | 364 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | module.c | 317 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
/linux-6.3-rc2/arch/x86/tools/ |
A 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.3-rc2/arch/x86/kernel/ |
A D | machine_kexec_64.c | 454 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | module.c | 426 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux-6.3-rc2/arch/mips/boot/tools/ |
A D | relocs.c | 504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
|
/linux-6.3-rc2/kernel/ |
A D | kexec_file.c | 1061 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
|