/linux-4.4.14/scripts/ |
D | sortextable.h | 23 #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()
|
D | recordmcount.h | 40 #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/ |
D | modpost.h | 24 #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);
|
D | modpost.c | 411 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 …]
|
D | file2alias.c | 1309 Elf_Sym *sym, const char *symname) in handle_moddevtable()
|
/linux-4.4.14/arch/x86/tools/ |
D | relocs.c | 11 #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/ |
D | module.c | 60 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/ |
D | module.h | 12 #define Elf_Sym Elf32_Sym macro 18 #define Elf_Sym Elf64_Sym macro
|
/linux-4.4.14/include/asm-generic/ |
D | module.h | 17 #define Elf_Sym Elf64_Sym macro 34 #define Elf_Sym Elf32_Sym macro
|
/linux-4.4.14/arch/c6x/kernel/ |
D | module.c | 52 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/ |
D | module.c | 111 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/ |
D | module-rela.c | 112 Elf_Sym *sym; in apply_relocate_add() 126 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
D | vpe.c | 483 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()
|
D | module.c | 200 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/ |
D | module.h | 39 #define Elf_Sym Elf32_Sym macro 57 #define Elf_Sym Elf64_Sym macro
|
/linux-4.4.14/arch/tile/kernel/ |
D | module.c | 130 Elf_Sym *sym; in apply_relocate_add() 144 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/linux-4.4.14/kernel/ |
D | kexec_file.c | 941 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()
|
D | module.c | 2114 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/ |
D | module.c | 863 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/ |
D | module.c | 84 module->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
|
/linux-4.4.14/include/linux/ |
D | module.h | 306 Elf_Sym *symtab;
|