Home
last modified time | relevance | path

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

/linux-4.1.27/scripts/mod/
Dmodpost.h18 #define Elf_Sym Elf32_Sym macro
33 #define Elf_Sym Elf64_Sym macro
123 Elf_Sym *symtab_start;
124 Elf_Sym *symtab_stop;
158 const Elf_Sym *sym) in get_secindex()
170 Elf_Sym *sym, const char *symname);
Dmodpost.c410 Elf_Sym *sym; in parse_elf()
606 Elf_Sym *sym, const char *symname) in handle_modversions()
752 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
975 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
981 Elf_Rela *r, Elf_Sym *sym,
1202 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1203 Elf_Sym *relsym) in find_elf_symbol()
1205 Elf_Sym *sym; in find_elf_symbol()
1206 Elf_Sym *near = NULL; in find_elf_symbol()
1253 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
[all …]
Dfile2alias.c1230 Elf_Sym *sym, const char *symname) in handle_moddevtable()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/x86/um/asm/
Dmodule.h12 #define Elf_Sym Elf32_Sym macro
18 #define Elf_Sym Elf64_Sym macro
/linux-4.1.27/include/asm-generic/
Dmodule.h17 #define Elf_Sym Elf64_Sym macro
34 #define Elf_Sym Elf32_Sym macro
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/mips/include/asm/
Dmodule.h39 #define Elf_Sym Elf32_Sym macro
57 #define Elf_Sym Elf64_Sym macro
/linux-4.1.27/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.1.27/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.1.27/kernel/
Dkexec.c2573 static Elf_Sym *kexec_purgatory_find_symbol(struct purgatory_info *pi, in kexec_purgatory_find_symbol()
2576 Elf_Sym *syms; in kexec_purgatory_find_symbol()
2596 syms = (Elf_Sym *)sechdrs[i].sh_offset; in kexec_purgatory_find_symbol()
2599 for (k = 0; k < sechdrs[i].sh_size/sizeof(Elf_Sym); k++) { in kexec_purgatory_find_symbol()
2624 Elf_Sym *sym; in kexec_purgatory_get_symbol_addr()
2647 Elf_Sym *sym; in kexec_purgatory_get_set_symbol()
Dmodule.c1943 Elf_Sym *sym = (void *)symsec->sh_addr; in simplify_symbols()
1949 for (i = 1; i < symsec->sh_size / sizeof(Elf_Sym); i++) { in simplify_symbols()
2224 static char elf_type(const Elf_Sym *sym, const struct load_info *info) in elf_type()
2264 static bool is_core_symbol(const Elf_Sym *src, const Elf_Shdr *sechdrs, in is_core_symbol()
2296 const Elf_Sym *src; in layout_symtab()
2319 info->stroffs = mod->core_size = info->symoffs + ndst * sizeof(Elf_Sym); in layout_symtab()
2345 const Elf_Sym *src; in add_kallsyms()
2346 Elf_Sym *dst; in add_kallsyms()
2354 mod->kallsyms->num_symtab = symsec->sh_size / sizeof(Elf_Sym); in add_kallsyms()
/linux-4.1.27/arch/avr32/kernel/
Dmodule.c84 module->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
/linux-4.1.27/include/linux/
Dmodule.h214 Elf_Sym *symtab;