Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/vDSO/
H A Dparse_vdso.c225 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
227 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
228 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/openbmc/linux/arch/sparc/vdso/
H A Dvma.c129 osym->st_info = nsym->st_info; in patchsym64()
197 osym->st_info = nsym->st_info; in patchsym32()
/openbmc/qemu/include/hw/char/
H A Driscv_htif.h47 void htif_symbol_callback(const char *st_name, int st_info, uint64_t st_value,
/openbmc/linux/tools/lib/bpf/
H A Delf.c128 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()
H A Dlinker.c433 init_sym->st_info = 0; in init_output_elf()
791 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab()
792 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab()
796 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab()
1796 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind()
1801 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1825 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1826 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym()
1975 dst_sym->st_info = sym->st_info; in linker_append_elf_sym()
2073 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dmodule.h50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/openbmc/linux/tools/objtool/
H A Delf.c403 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()
H A Dorc_dump.c177 if (GELF_ST_TYPE(sym.st_info) == STT_SECTION) { in orc_dump()
/openbmc/linux/include/uapi/linux/
H A Delf.h192 unsigned char st_info; member
199 unsigned char st_info; /* Type and binding attributes */ member
/openbmc/linux/scripts/mod/
H A Dmodpost.c636 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in handle_symbol()
637 ELF_ST_BIND(sym->st_info) != STB_WEAK) in handle_symbol()
644 if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGISTER) in handle_symbol()
655 ELF_ST_BIND(sym->st_info) == STB_WEAK); in handle_symbol()
1120 if (ELF_ST_BIND(sym->st_info) != STB_GLOBAL && in check_export_symbol()
1121 ELF_ST_BIND(sym->st_info) != STB_WEAK) { in check_export_symbol()
1152 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
1160 ELF_ST_TYPE(sym->st_info) == STT_LOPROC) in check_export_symbol()
H A Dsymsearch.c87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
/openbmc/linux/arch/arc/kernel/
H A Dmodule.c85 if (sym_entry->st_name == 0 && ELF_ST_TYPE (sym_entry->st_info) == STT_SECTION) { in apply_relocate_add()
/openbmc/linux/tools/perf/util/
H A Dgenelf.c85 .st_info = ELF_ST_TYPE(STT_NOTYPE),
92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
/openbmc/linux/kernel/module/
H A Dkallsyms.c42 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()
/openbmc/linux/arch/sparc/kernel/
H A Dmodule.c76 if (ELF_ST_TYPE(sym[i].st_info) == STT_REGISTER) in module_frob_arch_sections()
/openbmc/qemu/hw/char/
H A Driscv_htif.c62 void htif_symbol_callback(const char *st_name, int st_info, uint64_t st_value, in htif_symbol_callback() argument
/openbmc/qemu/include/hw/
H A Dloader.h146 typedef void (*symbol_fn_t)(const char *st_name, int st_info,
/openbmc/linux/arch/alpha/kernel/
H A Dmodule.c258 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) in apply_relocate_add()
/openbmc/linux/scripts/
H 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()
H A Dsorttable.h432 if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) in do_sort()
/openbmc/linux/arch/mips/kernel/
H A Dmodule.c344 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in __apply_relocate()
/openbmc/qemu/include/
H A Delf.h1477 unsigned char st_info; member
1484 unsigned char st_info; /* Type and binding attributes */ member
/openbmc/u-boot/include/
H A Delf.h358 unsigned char st_info; /* type and binding */ member
/openbmc/linux/arch/x86/tools/
H A Drelocs.c623 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()
/openbmc/linux/arch/riscv/kernel/
H A Dmodule.c364 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) in apply_relocate_add()

12