/arch/s390/include/asm/ |
D | kexec.h | 91 Elf_Shdr *section, 92 const Elf_Shdr *relsec, 93 const Elf_Shdr *symtab);
|
/arch/x86/um/asm/ |
D | module.h | 12 #define Elf_Shdr Elf32_Shdr macro 18 #define Elf_Shdr Elf64_Shdr macro
|
/arch/powerpc/kernel/ |
D | module.c | 22 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 23 const Elf_Shdr *sechdrs, in find_section() 37 const Elf_Shdr *sechdrs, struct module *me) in module_finalize() 39 const Elf_Shdr *sect; in module_finalize()
|
/arch/powerpc/include/asm/ |
D | module.h | 78 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 80 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
/arch/sparc/kernel/ |
D | module.c | 56 Elf_Shdr *sechdrs, in module_frob_arch_sections() 83 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 185 const Elf_Shdr *sechdrs) in do_patch_sections() 187 const Elf_Shdr *s, *sun4v_1insn = NULL, *sun4v_2insn = NULL; in do_patch_sections() 208 const Elf_Shdr *sechdrs, in module_finalize()
|
/arch/arm/kernel/ |
D | module.c | 345 const Elf_Shdr *unw_sec; 346 const Elf_Shdr *txt_sec; 349 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section() 350 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 352 const Elf_Shdr *s, *se; in find_mod_section() 365 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() 368 const Elf_Shdr *s = NULL; in module_finalize() 371 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
|
/arch/arm64/kernel/ |
D | module.c | 481 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 482 const Elf_Shdr *sechdrs, in find_section() 485 const Elf_Shdr *s, *se; in find_section() 502 const Elf_Shdr *sechdrs, in module_init_ftrace_plt() 506 const Elf_Shdr *s; in module_init_ftrace_plt() 525 static int module_init_hyp(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_init_hyp() 529 const Elf_Shdr *s; in module_init_hyp() 579 const Elf_Shdr *sechdrs, in module_finalize() 583 const Elf_Shdr *s; in module_finalize()
|
D | module-plts.c | 162 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts() 291 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 297 Elf_Shdr *pltsec, *tramp = NULL; in module_frob_arch_sections()
|
/arch/x86/include/asm/ |
D | kexec.h | 192 Elf_Shdr *section, 193 const Elf_Shdr *relsec, 194 const Elf_Shdr *symtab);
|
/arch/mips/include/asm/ |
D | module.h | 39 #define Elf_Shdr Elf32_Shdr macro 57 #define Elf_Shdr Elf64_Shdr macro
|
/arch/mips/kernel/ |
D | module.c | 313 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() 386 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() 394 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 425 const Elf_Shdr *sechdrs, in module_finalize() 428 const Elf_Shdr *s; in module_finalize()
|
D | vpe.c | 169 static long get_offset(unsigned long *size, Elf_Shdr *sechdr) in get_offset() 183 Elf_Shdr *sechdrs, const char *secstrings) in layout_sections() 201 Elf_Shdr *s = &sechdrs[i]; in layout_sections() 477 static void simplify_symbols(Elf_Shdr *sechdrs, in simplify_symbols() 536 static void dump_elfsymbols(Elf_Shdr *sechdrs, unsigned int symindex, in dump_elfsymbols() 550 static int find_vpe_symbols(struct vpe *v, Elf_Shdr *sechdrs, in find_vpe_symbols() 579 Elf_Shdr *sechdrs; in vpe_elfload() 605 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) { in vpe_elfload()
|
/arch/hexagon/kernel/ |
D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 67 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/arch/parisc/kernel/ |
D | module.c | 299 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() 518 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 663 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 832 const Elf_Shdr *sechdrs) in register_unwind_table() 857 const Elf_Shdr *sechdrs, in module_finalize() 863 const Elf_Shdr *s; in module_finalize() 867 Elf_Shdr *symhdr = NULL; in module_finalize() 896 symhdr = (Elf_Shdr *)&sechdrs[i]; in module_finalize() 957 err = apply_relocate((Elf_Shdr *)sechdrs, in module_finalize() 961 err = apply_relocate_add((Elf_Shdr *)sechdrs, in module_finalize()
|
/arch/arc/kernel/ |
D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 132 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/arch/s390/kernel/ |
D | module.c | 121 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 124 Elf_Shdr *symtab; in module_frob_arch_sections() 439 static int __apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate_add() 465 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 481 const Elf_Shdr *s) in module_alloc_ftrace_hotpatch_trampolines() 504 const Elf_Shdr *sechdrs, in module_finalize() 507 const Elf_Shdr *s; in module_finalize()
|
D | machine_kexec_file.c | 283 Elf_Shdr *section, in arch_kexec_apply_relocations_add() 284 const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add() 285 const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
|
/arch/microblaze/kernel/ |
D | module.c | 91 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/arch/x86/kernel/ |
D | machine_kexec_64.c | 396 Elf_Shdr *section, const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add() 397 const Elf_Shdr *symtabsec) in arch_kexec_apply_relocations_add() 405 const Elf_Shdr *sechdrs; in arch_kexec_apply_relocations_add()
|
/arch/riscv/kernel/ |
D | module-sections.c | 90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 126 Elf_Shdr *dst_sec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
|
/arch/nds32/kernel/ |
D | module.c | 23 Elf_Shdr * sechdrs, in module_frob_arch_sections() 270 module_finalize(const Elf32_Ehdr * hdr, const Elf_Shdr * sechdrs, in module_finalize()
|
/arch/riscv/include/asm/ |
D | module.h | 15 Elf_Shdr *shdr;
|
/arch/sh/kernel/ |
D | module.c | 91 const Elf_Shdr *sechdrs, in module_finalize()
|
/arch/mips/boot/tools/ |
D | relocs.c | 11 #define Elf_Shdr ElfW(Shdr) macro 25 Elf_Shdr shdr; 253 if (ehdr.e_shentsize != sizeof(Elf_Shdr)) in read_ehdr() 263 Elf_Shdr shdr; in read_shdrs() 410 Elf_Shdr shdr; in remove_relocs()
|
/arch/nios2/kernel/ |
D | module.c | 132 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|