Home
last modified time | relevance | path

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

/linux-4.4.14/scripts/
Dsortextable.h23 #undef Elf_Sym
45 # define Elf_Sym Elf64_Sym macro
66 # define Elf_Sym Elf32_Sym macro
100 Elf_Sym *sym; in do_func()
101 const Elf_Sym *symtab; in do_func()
103 Elf_Sym *sort_needed_sym; in do_func()
157 symtab = (const Elf_Sym *)((const char *)ehdr + in do_func()
180 for (i = 0; i < _r(&symtab_sec->sh_size) / sizeof(Elf_Sym); i++) { in do_func()
Drecordmcount.h40 #undef Elf_Sym
74 # define Elf_Sym Elf64_Sym macro
107 # define Elf_Sym Elf32_Sym macro
254 static unsigned get_mcountsym(Elf_Sym const *const sym0, in get_mcountsym()
260 Elf_Sym const *const symp = in get_mcountsym()
278 Elf_Sym const **sym0, in get_sym_str_and_relp()
290 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
315 Elf_Sym const *sym0; in sift_rel_mcount()
360 Elf_Sym const *sym0; in nop_mcount()
423 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
[all …]
/linux-4.4.14/scripts/mod/
Dmodpost.h24 #define Elf_Sym Elf32_Sym macro
39 #define Elf_Sym Elf64_Sym macro
129 Elf_Sym *symtab_start;
130 Elf_Sym *symtab_stop;
164 const Elf_Sym *sym) in get_secindex()
176 Elf_Sym *sym, const char *symname);
Dmodpost.c411 Elf_Sym *sym; in parse_elf()
607 Elf_Sym *sym, const char *symname) in handle_modversions()
753 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
979 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
985 Elf_Rela *r, Elf_Sym *sym,
1206 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1207 Elf_Sym *relsym) in find_elf_symbol()
1209 Elf_Sym *sym; in find_elf_symbol()
1210 Elf_Sym *near = NULL; in find_elf_symbol()
1257 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
[all …]
Dfile2alias.c1309 Elf_Sym *sym, const char *symname) in handle_moddevtable()
/linux-4.4.14/arch/x86/tools/
Drelocs.c11 #define Elf_Sym ElfW(Sym) macro
31 Elf_Sym *symtab;
255 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name()
268 static Elf_Sym *sym_lookup(const char *symname) in sym_lookup()
275 Elf_Sym *symtab; in sym_lookup()
276 Elf_Sym *sym; in sym_lookup()
281 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
471 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs()
472 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
537 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in print_absolute_symbols()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dmodule.c60 Elf_Sym *sym; in module_frob_arch_sections()
70 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; in module_frob_arch_sections()
73 for (i = 1; i < sechdrs[symidx].sh_size / sizeof(Elf_Sym); i++) { in module_frob_arch_sections()
90 Elf_Sym *sym; in apply_relocate_add()
108 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-4.4.14/arch/x86/um/asm/
Dmodule.h12 #define Elf_Sym Elf32_Sym macro
18 #define Elf_Sym Elf64_Sym macro
/linux-4.4.14/include/asm-generic/
Dmodule.h17 #define Elf_Sym Elf64_Sym macro
34 #define Elf_Sym Elf32_Sym macro
/linux-4.4.14/arch/c6x/kernel/
Dmodule.c52 Elf_Sym *sym; in apply_relocate_add()
68 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-4.4.14/arch/s390/kernel/
Dmodule.c111 Elf_Sym *symbols; in module_frob_arch_sections()
130 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
209 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
403 Elf_Sym *symtab; in apply_relocate_add()
411 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
/linux-4.4.14/arch/mips/kernel/
Dmodule-rela.c112 Elf_Sym *sym; in apply_relocate_add()
126 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
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()
Dmodule.c200 Elf_Sym *sym; in apply_relocate()
215 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate()
/linux-4.4.14/arch/mips/include/asm/
Dmodule.h39 #define Elf_Sym Elf32_Sym macro
57 #define Elf_Sym Elf64_Sym macro
/linux-4.4.14/arch/tile/kernel/
Dmodule.c130 Elf_Sym *sym; in apply_relocate_add()
144 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/linux-4.4.14/kernel/
Dkexec_file.c941 static Elf_Sym *kexec_purgatory_find_symbol(struct purgatory_info *pi, in kexec_purgatory_find_symbol()
944 Elf_Sym *syms; in kexec_purgatory_find_symbol()
964 syms = (Elf_Sym *)sechdrs[i].sh_offset; in kexec_purgatory_find_symbol()
967 for (k = 0; k < sechdrs[i].sh_size/sizeof(Elf_Sym); k++) { in kexec_purgatory_find_symbol()
992 Elf_Sym *sym; in kexec_purgatory_get_symbol_addr()
1015 Elf_Sym *sym; in kexec_purgatory_get_set_symbol()
Dmodule.c2114 Elf_Sym *sym = (void *)symsec->sh_addr; in simplify_symbols()
2120 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) { in simplify_symbols()
2395 static char elf_type(const Elf_Sym *sym, const struct load_info *info) in elf_type()
2435 static bool is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, in is_core_symbol()
2467 const Elf_Sym *src; in layout_symtab()
2490 info->stroffs = mod->core_size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab()
2516 const Elf_Sym *src; in add_kallsyms()
2517 Elf_Sym *dst; in add_kallsyms()
2525 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c863 Elf_Sym *newptr, *oldptr; in module_finalize()
916 nsyms = symhdr->sh_size / sizeof(Elf_Sym); in module_finalize()
931 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize()
933 symhdr->sh_size = nsyms * sizeof(Elf_Sym); in module_finalize()
/linux-4.4.14/arch/avr32/kernel/
Dmodule.c84 module->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
/linux-4.4.14/include/linux/
Dmodule.h306 Elf_Sym *symtab;