Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/scripts/mod/
H A Dmodpost.h26 #define Elf_Sym Elf32_Sym macro
41 #define Elf_Sym Elf64_Sym macro
140 Elf_Sym *symtab_start;
141 Elf_Sym *symtab_stop;
175 const Elf_Sym *sym) in get_secindex()
195 Elf_Sym *sym, const char *symname);
H A Dmodpost.c334 static void *sym_get_data(const struct elf_info *info, const Elf_Sym *sym) in sym_get_data()
388 const Elf_Sym *sym) in namespace_from_kstrtabns()
483 Elf_Sym *sym; in parse_elf()
677 const Elf_Sym *sym, const char *symname) in handle_modversion()
700 const Elf_Sym *sym, const char *symname) in handle_symbol()
825 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
1036 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1042 Elf_Rela *r, Elf_Sym *sym,
1284 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1300 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
[all …]
/OK3568_Linux_fs/kernel/scripts/
H A Dsorttable.h28 #undef Elf_Sym
50 # define Elf_Sym Elf64_Sym macro
71 # define Elf_Sym Elf32_Sym macro
204 Elf_Sym *sym; in do_sort()
205 const Elf_Sym *symtab; in do_sort()
207 Elf_Sym *sort_needed_sym = NULL; in do_sort()
314 symtab = (const Elf_Sym *)((const char *)ehdr + in do_sort()
331 sym < sym + _r(&symtab_sec->sh_size) / sizeof(Elf_Sym); in do_sort()
H A Drecordmcount.h44 #undef Elf_Sym
83 # define Elf_Sym Elf64_Sym macro
121 # define Elf_Sym Elf32_Sym macro
191 static unsigned int get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, in get_symindex()
350 static unsigned get_mcountsym(Elf_Sym const *const sym0, in get_mcountsym()
356 Elf_Sym const *const symp = in get_mcountsym()
374 Elf_Sym const **sym0, in get_sym_str_and_relp()
386 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
411 Elf_Sym const *sym0; in sift_rel_mcount()
457 Elf_Sym const *sym0; in nop_mcount()
[all …]
H A Dinsert-sys-cert.c41 #define Elf_Sym Elf32_Sym macro
46 #define Elf_Sym Elf64_Sym macro
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol()
135 Elf_Sym *sym, *symtab_start; in find_elf_symbol()
162 Elf_Sym *elf_sym; in get_symbol_from_table()
/OK3568_Linux_fs/kernel/arch/x86/tools/
H A Drelocs.c12 #define Elf_Sym ElfW(Sym) macro
34 Elf_Sym *symtab;
261 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name()
274 static Elf_Sym *sym_lookup(const char *symname) in sym_lookup()
281 Elf_Sym *symtab; in sym_lookup()
282 Elf_Sym *sym; in sym_lookup()
287 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
491 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs()
492 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
557 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in print_absolute_symbols()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dmodule.c61 Elf_Sym *sym; in module_frob_arch_sections()
71 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; in module_frob_arch_sections()
74 for (i = 1; i < sechdrs[symidx].sh_size / sizeof(Elf_Sym); i++) { in module_frob_arch_sections()
91 Elf_Sym *sym; in apply_relocate_add()
109 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/x86/um/asm/
H A Dmodule.h13 #define Elf_Sym Elf32_Sym macro
19 #define Elf_Sym Elf64_Sym macro
/OK3568_Linux_fs/kernel/arch/mips/boot/tools/
H A Drelocs.c12 #define Elf_Sym ElfW(Sym) macro
27 Elf_Sym *symtab;
119 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name()
341 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs()
342 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
468 Elf_Sym *sym, const char *symname)) in walk_relocs()
475 Elf_Sym *sh_symtab; in walk_relocs()
492 Elf_Sym *sym = &sh_symtab[ELF_R_SYM(rel->r_info)]; in walk_relocs()
500 static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, in do_reloc()
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dmodule.h18 #define Elf_Sym Elf64_Sym macro
35 #define Elf_Sym Elf32_Sym macro
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Delf.h29 typedef Elf32_Sym Elf_Sym; typedef
59 typedef Elf64_Sym Elf_Sym; typedef
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Delf.h29 typedef Elf32_Sym Elf_Sym; typedef
59 typedef Elf64_Sym Elf_Sym; typedef
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Delf.h29 typedef Elf32_Sym Elf_Sym; typedef
59 typedef Elf64_Sym Elf_Sym; typedef
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/
H A Delf.h29 typedef Elf32_Sym Elf_Sym; typedef
59 typedef Elf64_Sym Elf_Sym; typedef
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dmodule.h40 #define Elf_Sym Elf32_Sym macro
58 #define Elf_Sym Elf64_Sym macro
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dgenelf.h58 #define Elf_Sym Elf64_Sym macro
69 #define Elf_Sym Elf32_Sym macro
H A Dgenelf.c85 static Elf_Sym symtab[]={
415 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()
/OK3568_Linux_fs/kernel/arch/c6x/kernel/
H A Dmodule.c48 Elf_Sym *sym; in apply_relocate_add()
64 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dmodule.c329 Elf_Sym *sym; in apply_relocate_add()
343 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
383 Elf_Sym *hi20_sym = in apply_relocate_add()
384 (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dvpe.c483 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols()
485 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in simplify_symbols()
539 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in dump_elfsymbols()
540 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in dump_elfsymbols()
554 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in find_vpe_symbols()
555 unsigned int i, n = sechdrs[symindex].sh_size / sizeof(Elf_Sym); in find_vpe_symbols()
H A Dmodule.c315 Elf_Sym *sym; in __apply_relocate()
333 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dmodule.c114 Elf_Sym *symbols; in module_frob_arch_sections()
133 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
224 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
434 Elf_Sym *symtab; in __apply_relocate_add()
442 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dmodule.h52 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) in kallsyms_symbol_value()
/OK3568_Linux_fs/kernel/kernel/
H A Dkexec_file.c1043 static const Elf_Sym *kexec_purgatory_find_symbol(struct purgatory_info *pi, in kexec_purgatory_find_symbol()
1048 const Elf_Sym *syms; in kexec_purgatory_find_symbol()
1069 for (k = 0; k < sechdrs[i].sh_size/sizeof(Elf_Sym); k++) { in kexec_purgatory_find_symbol()
1094 const Elf_Sym *sym; in kexec_purgatory_get_symbol_addr()
1118 const Elf_Sym *sym; in kexec_purgatory_get_set_symbol()
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dmodule.c866 Elf_Sym *newptr, *oldptr; in module_finalize()
920 nsyms = symhdr->sh_size / sizeof(Elf_Sym); in module_finalize()
935 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize()
937 symhdr->sh_size = nsyms * sizeof(Elf_Sym); in module_finalize()

12