Searched refs:Elf_Sym (Results 1 – 12 of 12) sorted by relevance
/arch/x86/um/asm/ |
D | module.h | 13 #define Elf_Sym Elf32_Sym macro 19 #define Elf_Sym Elf64_Sym macro
|
/arch/sparc/kernel/ |
D | module.c | 61 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/ |
D | relocs.c | 12 #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/ |
D | module.c | 52 Elf_Sym *sym; in apply_relocate_add() 68 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/arch/mips/boot/tools/ |
D | relocs.c | 12 #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/ |
D | module.h | 40 #define Elf_Sym Elf32_Sym macro 58 #define Elf_Sym Elf64_Sym macro
|
/arch/tile/kernel/ |
D | module.c | 129 Elf_Sym *sym; in apply_relocate_add() 143 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add()
|
/arch/s390/kernel/ |
D | module.c | 119 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/ |
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 | 328 Elf_Sym *sym; in __apply_relocate() 346 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
|
/arch/parisc/kernel/ |
D | module.c | 879 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/ |
D | kexec_elf_64.c | 296 size_ok = shdr->sh_entsize == sizeof(Elf_Sym); in elf_is_shdr_sane()
|