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 37 Elf_Sym *symtab; 263 static const char *sym_name(const char *sym_strtab, Elf_Sym *sym) in sym_name() 276 static Elf_Sym *sym_lookup(const char *symname) in sym_lookup() 283 Elf_Sym *symtab; in sym_lookup() 284 Elf_Sym *sym; in sym_lookup() 289 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup() 493 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in read_symtabs() 494 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs() 559 for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) { in print_absolute_symbols() [all …]
|
/arch/mips/include/asm/ |
D | module.h | 40 #define Elf_Sym Elf32_Sym macro 58 #define Elf_Sym Elf64_Sym macro
|
/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/arm/include/asm/ |
D | module.h | 52 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) in kallsyms_symbol_value()
|
/arch/riscv/kernel/ |
D | module.c | 329 Elf_Sym *sym; in apply_relocate_add() 343 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 383 Elf_Sym *hi20_sym = in apply_relocate_add() 384 (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 | 321 Elf_Sym *sym; in __apply_relocate() 339 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in __apply_relocate()
|
/arch/s390/kernel/ |
D | module.c | 125 Elf_Sym *symbols; in module_frob_arch_sections() 144 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections() 235 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela() 445 Elf_Sym *symtab; in __apply_relocate_add() 453 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add()
|
D | machine_kexec_file.c | 294 const Elf_Sym *sym; /* symbol to relocate */ in arch_kexec_apply_relocations_add()
|
/arch/parisc/kernel/ |
D | module.c | 866 Elf_Sym *newptr, *oldptr; in module_finalize() 920 nsyms = symhdr->sh_size / sizeof(Elf_Sym); in module_finalize() 935 nsyms = newptr - (Elf_Sym *)symhdr->sh_addr; in module_finalize() 937 symhdr->sh_size = nsyms * sizeof(Elf_Sym); in module_finalize()
|