Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 – 25 of 29) sorted by relevance

12

/arch/blackfin/include/asm/
Dmodule.h13 Elf_Shdr *text_l1;
14 Elf_Shdr *data_a_l1;
15 Elf_Shdr *bss_a_l1;
16 Elf_Shdr *data_b_l1;
17 Elf_Shdr *bss_b_l1;
18 Elf_Shdr *text_l2;
19 Elf_Shdr *data_l2;
20 Elf_Shdr *bss_l2;
/arch/powerpc/kernel/
Dmodule.c32 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
33 const Elf_Shdr *sechdrs, in find_section()
47 const Elf_Shdr *sechdrs, struct module *me) in module_finalize()
49 const Elf_Shdr *sect; in module_finalize()
/arch/x86/um/asm/
Dmodule.h11 #define Elf_Shdr Elf32_Shdr macro
17 #define Elf_Shdr Elf64_Shdr macro
/arch/sparc/kernel/
Dmodule.c55 Elf_Shdr *sechdrs, in module_frob_arch_sections()
82 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
184 const Elf_Shdr *sechdrs) in do_patch_sections()
186 const Elf_Shdr *s, *sun4v_1insn = NULL, *sun4v_2insn = NULL; in do_patch_sections()
207 const Elf_Shdr *sechdrs, in module_finalize()
/arch/arm/kernel/
Dmodule.c303 const Elf_Shdr *unw_sec;
304 const Elf_Shdr *txt_sec;
307 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section()
308 const Elf_Shdr *sechdrs, const char *name) in find_mod_section()
310 const Elf_Shdr *s, *se; in find_mod_section()
323 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
326 const Elf_Shdr *s = NULL; in module_finalize()
329 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
/arch/blackfin/kernel/
Dmodule.c21 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
31 Elf_Shdr *s, *sechdrs_end = sechdrs + hdr->e_shnum; in module_frob_arch_sections()
151 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
235 const Elf_Shdr * sechdrs, struct module *mod) in module_finalize()
269 err = apply_relocate_add((Elf_Shdr *) sechdrs, strtab, in module_finalize()
/arch/arc/kernel/
Dmodule.c33 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
131 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/arch/hexagon/kernel/
Dmodule.c40 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
80 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
/arch/mips/include/asm/
Dmodule.h38 #define Elf_Shdr Elf32_Shdr macro
56 #define Elf_Shdr Elf64_Shdr macro
/arch/mips/kernel/
Dvpe.c169 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()
Dmodule.c195 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate()
271 const Elf_Shdr *sechdrs, in module_finalize()
274 const Elf_Shdr *s; in module_finalize()
Dmodule-rela.c107 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
/arch/s390/kernel/
Dmodule.c110 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
113 Elf_Shdr *symtab; in module_frob_arch_sections()
416 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
442 const Elf_Shdr *sechdrs, in module_finalize()
445 const Elf_Shdr *s; in module_finalize()
/arch/parisc/kernel/
Dmodule.c319 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections()
538 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
675 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()
864 Elf_Shdr *symhdr = NULL; in module_finalize()
892 symhdr = (Elf_Shdr *)&sechdrs[i]; in module_finalize()
/arch/microblaze/kernel/
Dmodule.c120 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/arch/x86/kernel/
Dmodule.c226 const Elf_Shdr *sechdrs, in module_finalize()
229 const Elf_Shdr *s, *text = NULL, *alt = NULL, *locks = NULL, in module_finalize()
/arch/sh/kernel/
Dmodule.c113 const Elf_Shdr *sechdrs, in module_finalize()
/arch/nios2/kernel/
Dmodule.c133 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/arch/score/kernel/
Dmodule.c30 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate()
/arch/m68k/kernel/
Dmodule.c103 const Elf_Shdr *sechdrs, in module_finalize()
/arch/arm64/kernel/
Dmodule.c409 const Elf_Shdr *sechdrs, in module_finalize()
412 const Elf_Shdr *s, *se; in module_finalize()
Dmodule-plts.c149 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/arch/tile/kernel/
Dmodule.c122 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
/arch/x86/tools/
Drelocs.c10 #define Elf_Shdr ElfW(Shdr) macro
29 Elf_Shdr shdr;
381 if (ehdr.e_shentsize != sizeof(Elf_Shdr)) { in read_ehdr()
392 Elf_Shdr shdr; in read_shdrs()
/arch/sh/include/asm/
Ddwarf.h382 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,

12