/linux/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/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/tools/lib/bpf/ |
A D | linker.c | 430 init_sym->st_info = 0; in init_output_elf() 793 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab() 794 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab() 798 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab() 1784 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind() 1789 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type() 1813 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym() 1814 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym() 1963 dst_sym->st_info = sym->st_info; in linker_append_elf_sym() 2065 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos() [all …]
|
A D | libbpf.c | 730 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs() 782 if (ELF64_ST_BIND(sym->st_info) != STB_LOCAL in bpf_object__add_programs() 1381 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL || in find_elf_var_offset() 1382 ELF64_ST_TYPE(sym->st_info) != STT_OBJECT) in find_elf_var_offset() 1934 if (ELF64_ST_TYPE(sym->st_info) == STT_SECTION) in bpf_object__init_user_maps() 1958 if (ELF64_ST_TYPE(sym->st_info) == STT_SECTION) in bpf_object__init_user_maps() 1972 if (ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__init_user_maps() 3343 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_extern() 3347 ELF64_ST_TYPE(sym->st_info) == STT_NOTYPE; in sym_is_extern() 3352 int bind = ELF64_ST_BIND(sym->st_info); in sym_is_subprog() [all …]
|
/linux/arch/arm/include/asm/ |
A D | module.h | 54 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
|
/linux/include/uapi/linux/ |
A D | elf.h | 188 unsigned char st_info; member 195 unsigned char st_info; /* Type and binding attributes */ member
|
/linux/tools/perf/util/ |
A D | genelf.c | 84 .st_info = ELF_ST_TYPE(STT_NOTYPE), 91 .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() 1255 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal() 1277 GELF_ST_BIND(sym.st_info), in dso__load_sym_internal() 1278 GELF_ST_TYPE(sym.st_info), elf_name); in dso__load_sym_internal()
|
/linux/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/tools/objtool/ |
A D | orc_dump.c | 167 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
|
A D | elf.c | 317 sym->type = GELF_ST_TYPE(sym->sym.st_info); in elf_add_symbol() 318 sym->bind = GELF_ST_BIND(sym->sym.st_info); in elf_add_symbol() 408 if (GELF_ST_TYPE(sym->sym.st_info) == STT_SECTION) { in read_symbols()
|
/linux/scripts/mod/ |
A D | modpost.c | 712 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol() 713 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol() 720 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol() 731 ELF_ST_BIND(sym->st_info) == STB_WEAK, in handle_symbol() 1308 if (ELF_ST_TYPE(sym->st_info) == STT_SECTION) in find_elf_symbol() 1404 return ELF_ST_TYPE(sym->st_info) == STT_FUNC; in is_function() 2055 unsigned char bind = ELF_ST_BIND(sym->st_info); in read_symbols()
|
A D | file2alias.c | 1544 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in handle_moddevtable()
|
/linux/arch/sparc/kernel/ |
A D | module.c | 76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
|
/linux/arch/alpha/kernel/ |
A D | module.c | 260 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
|
/linux/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 | 333 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
|
/linux/arch/mips/kernel/ |
A D | module.c | 343 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
|
/linux/arch/arm/kernel/ |
A D | module.c | 227 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
|
/linux/arch/riscv/kernel/ |
A D | module.c | 336 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
|
/linux/arch/x86/tools/ |
A D | relocs.c | 622 sym_type(ELF_ST_TYPE(sym->st_info)), in print_absolute_symbols() 623 sym_bind(ELF_ST_BIND(sym->st_info)), in print_absolute_symbols()
|
/linux/arch/x86/kernel/ |
A D | machine_kexec_64.c | 455 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
|
/linux/arch/mips/boot/tools/ |
A D | relocs.c | 504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
|
/linux/kernel/ |
A D | kexec_file.c | 1100 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
|
A D | module.c | 2332 (ELF_ST_BIND(sym[i].st_info) == STB_WEAK || in simplify_symbols() 2629 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) { in elf_type() 2630 if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT) in elf_type()
|