Home
last modified time | relevance | path

Searched refs:st_info (Results 1 – 25 of 25) sorted by relevance

/linux/tools/testing/selftests/vDSO/
A Dparse_vdso.c213 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 Dvma.c129 osym->st_info = nsym->st_info; in patchsym64()
197 osym->st_info = nsym->st_info; in patchsym32()
/linux/tools/lib/bpf/
A Dlinker.c430 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 Dlibbpf.c730 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 Dmodule.h54 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/linux/include/uapi/linux/
A Delf.h188 unsigned char st_info; member
195 unsigned char st_info; /* Type and binding attributes */ member
/linux/tools/perf/util/
A Dgenelf.c84 .st_info = ELF_ST_TYPE(STT_NOTYPE),
91 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
A Dsymbol-elf.c119 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 Dmodule.c85 if (sym_entry->st_name == 0 && ELF_ST_TYPE (sym_entry->st_info) == STT_SECTION) { in apply_relocate_add()
/linux/tools/objtool/
A Dorc_dump.c167 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
A Delf.c317 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 Dmodpost.c712 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 Dfile2alias.c1544 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in handle_moddevtable()
/linux/arch/sparc/kernel/
A Dmodule.c76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
/linux/arch/alpha/kernel/
A Dmodule.c260 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
/linux/scripts/
A Drecordmcount.h532 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 Dsorttable.h333 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
/linux/arch/mips/kernel/
A Dmodule.c343 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
/linux/arch/arm/kernel/
A Dmodule.c227 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
/linux/arch/riscv/kernel/
A Dmodule.c336 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()
/linux/arch/x86/tools/
A Drelocs.c622 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 Dmachine_kexec_64.c455 name, sym->st_info, sym->st_shndx, sym->st_value, in arch_kexec_apply_relocations_add()
/linux/arch/mips/boot/tools/
A Drelocs.c504 unsigned bind = ELF_ST_BIND(sym->st_info); in do_reloc()
/linux/kernel/
A Dkexec_file.c1100 if (ELF_ST_BIND(syms[k].st_info) != STB_GLOBAL) in kexec_purgatory_find_symbol()
A Dmodule.c2332 (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()

Completed in 69 milliseconds