Home
last modified time | relevance | path

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

/arch/x86/um/asm/
Dmodule.h13 #define Elf_Sym Elf32_Sym macro
19 #define Elf_Sym Elf64_Sym macro
/arch/sparc/kernel/
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()
/arch/x86/tools/
Drelocs.c12 #define Elf_Sym ElfW(Sym) macro
32 Elf_Sym *symtab;
256 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name()
269 static Elf_Sym *sym_lookup(const char *symname) in sym_lookup()
276 Elf_Sym *symtab; in sym_lookup()
277 Elf_Sym *sym; in sym_lookup()
282 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
472 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs()
473 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
538 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in print_absolute_symbols()
[all …]
/arch/c6x/kernel/
Dmodule.c52 Elf_Sym *sym; in apply_relocate_add()
68 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/arch/mips/boot/tools/
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()
/arch/mips/include/asm/
Dmodule.h40 #define Elf_Sym Elf32_Sym macro
58 #define Elf_Sym Elf64_Sym macro
/arch/tile/kernel/
Dmodule.c129 Elf_Sym *sym; in apply_relocate_add()
143 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
/arch/s390/kernel/
Dmodule.c119 Elf_Sym *symbols; in module_frob_arch_sections()
138 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
221 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
426 Elf_Sym *symtab; in apply_relocate_add()
434 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in apply_relocate_add()
/arch/mips/kernel/
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.c328 Elf_Sym *sym; in __apply_relocate()
346 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
/arch/parisc/kernel/
Dmodule.c879 Elf_Sym *newptr, *oldptr; in module_finalize()
932 nsyms = symhdr->sh_size / sizeof(Elf_Sym); in module_finalize()
947 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize()
949 symhdr->sh_size = nsyms * sizeof(Elf_Sym); in module_finalize()
/arch/powerpc/kernel/
Dkexec_elf_64.c296 size_ok = shdr->sh_entsize == sizeof(Elf_Sym); in elf_is_shdr_sane()