/linux-4.1.27/arch/blackfin/include/asm/ |
D | module.h | 13 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;
|
/linux-4.1.27/scripts/ |
D | recordmcount.h | 37 #undef Elf_Shdr 71 # define Elf_Shdr Elf64_Shdr macro 104 # define Elf_Shdr Elf32_Shdr macro 179 Elf_Shdr *const shstr, in append_func() 188 Elf_Shdr mcsec; in append_func() 212 t += sizeof(Elf_Shdr) * old_shnum; in append_func() 214 sizeof(Elf_Shdr) * old_shnum); in append_func() 276 static void get_sym_str_and_relp(Elf_Shdr const *const relhdr, in get_sym_str_and_relp() 282 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp() 285 Elf_Shdr const *const symsec = &shdr0[symsec_sh_link]; in get_sym_str_and_relp() [all …]
|
D | sortextable.h | 20 #undef Elf_Shdr 42 # define Elf_Shdr Elf64_Shdr macro 63 # define Elf_Shdr Elf32_Shdr macro 95 Elf_Shdr *shdr; in do_func() 96 Elf_Shdr *shstrtab_sec; in do_func() 97 Elf_Shdr *strtab_sec = NULL; in do_func() 98 Elf_Shdr *symtab_sec = NULL; in do_func() 99 Elf_Shdr *extab_sec = NULL; in do_func() 104 Elf_Shdr *sort_needed_sec; in do_func() 117 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()
|
/linux-4.1.27/include/linux/ |
D | moduleloader.h | 17 Elf_Shdr *sechdrs, 36 int apply_relocate(Elf_Shdr *sechdrs, 42 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 59 int apply_relocate_add(Elf_Shdr *sechdrs, 65 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 79 const Elf_Shdr *sechdrs,
|
D | module.h | 645 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, 652 const Elf_Shdr *sechdrs, in module_bug_finalize()
|
D | kexec.h | 122 Elf_Shdr *sechdrs;
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | module.c | 32 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()
|
/linux-4.1.27/arch/arm/kernel/ |
D | module.c | 273 const Elf_Shdr *unw_sec; 274 const Elf_Shdr *txt_sec; 277 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section() 278 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 280 const Elf_Shdr *s, *se; in find_mod_section() 293 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() 296 const Elf_Shdr *s = NULL; in module_finalize() 299 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | module.c | 55 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()
|
/linux-4.1.27/arch/x86/um/asm/ |
D | module.h | 11 #define Elf_Shdr Elf32_Shdr macro 17 #define Elf_Shdr Elf64_Shdr macro
|
/linux-4.1.27/include/asm-generic/ |
D | module.h | 15 #define Elf_Shdr Elf64_Shdr macro 32 #define Elf_Shdr Elf32_Shdr macro
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | module.c | 21 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()
|
/linux-4.1.27/scripts/mod/ |
D | modpost.h | 17 #define Elf_Shdr Elf32_Shdr macro 32 #define Elf_Shdr Elf64_Shdr macro 122 Elf_Shdr *sechdrs;
|
D | modpost.c | 409 Elf_Shdr *sechdrs; in parse_elf() 762 Elf_Shdr *sechdrs = elf->sechdrs; in sec_name() 768 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) in sech_name() 846 Elf_Shdr *sechdr) in check_section() 1679 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location() 1681 Elf_Shdr *sechdrs = elf->sechdrs; in reloc_location() 1688 static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_386_rel() 1724 static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_arm_rel() 1751 static int addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_mips_rel() 1775 Elf_Shdr *sechdr) in section_rela() [all …]
|
/linux-4.1.27/arch/mips/kernel/ |
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()
|
D | module.c | 195 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()
|
D | module-rela.c | 107 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add()
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | module.c | 40 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()
|
/linux-4.1.27/arch/arc/kernel/ |
D | module.c | 33 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()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | module.h | 38 #define Elf_Shdr Elf32_Shdr macro 56 #define Elf_Shdr Elf64_Shdr macro
|
/linux-4.1.27/arch/parisc/kernel/ |
D | module.c | 319 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()
|
/linux-4.1.27/kernel/ |
D | module.c | 175 Elf_Shdr *sechdrs; 226 Elf_Shdr *shdr = &info->sechdrs[i]; in find_sec() 487 Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; in percpu_modalloc() 1131 static int check_version(Elf_Shdr *sechdrs, in check_version() 1173 static inline int check_modstruct_version(Elf_Shdr *sechdrs, in check_modstruct_version() 1200 static inline int check_version(Elf_Shdr *sechdrs, in check_version() 1210 static inline int check_modstruct_version(Elf_Shdr *sechdrs, in check_modstruct_version() 1292 static inline bool sect_empty(const Elf_Shdr *sect) in sect_empty() 1353 Elf_Shdr *sec = &info->sechdrs[i]; in add_sect_attrs() 1942 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; in simplify_symbols() [all …]
|
D | kexec.c | 430 arch_kexec_apply_relocations_add(const Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in arch_kexec_apply_relocations_add() 439 arch_kexec_apply_relocations(const Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in arch_kexec_apply_relocations() 2302 const Elf_Shdr *sechdrs_c; in __kexec_load_purgatory() 2303 Elf_Shdr *sechdrs = NULL; in __kexec_load_purgatory() 2319 sechdrs = vzalloc(pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in __kexec_load_purgatory() 2323 memcpy(sechdrs, sechdrs_c, pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in __kexec_load_purgatory() 2479 Elf_Shdr *sechdrs = pi->sechdrs; in kexec_apply_relocations() 2483 Elf_Shdr *section, *symtab; in kexec_apply_relocations() 2549 || pi->ehdr->e_shentsize != sizeof(Elf_Shdr)) in kexec_load_purgatory() 2553 || (pi->ehdr->e_shnum * sizeof(Elf_Shdr) > in kexec_load_purgatory() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | module.c | 107 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 110 Elf_Shdr *symtab; in module_frob_arch_sections() 398 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 424 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-4.1.27/arch/x86/kernel/ |
D | module.c | 211 const Elf_Shdr *sechdrs, in module_finalize() 214 const Elf_Shdr *s, *text = NULL, *alt = NULL, *locks = NULL, in module_finalize()
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | module.c | 120 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-4.1.27/arch/sh/kernel/ |
D | module.c | 113 const Elf_Shdr *sechdrs, in module_finalize()
|
D | dwarf.c | 1093 int module_dwarf_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_dwarf_finalize()
|
/linux-4.1.27/arch/nios2/kernel/ |
D | module.c | 133 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | module.c | 403 const Elf_Shdr *sechdrs, in module_finalize() 406 const Elf_Shdr *s, *se; in module_finalize()
|
/linux-4.1.27/arch/score/kernel/ |
D | module.c | 30 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate()
|
/linux-4.1.27/lib/ |
D | bug.c | 85 void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_bug_finalize()
|
/linux-4.1.27/arch/m68k/kernel/ |
D | module.c | 103 const Elf_Shdr *sechdrs, in module_finalize()
|
/linux-4.1.27/arch/x86/tools/ |
D | relocs.c | 10 #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()
|
/linux-4.1.27/arch/tile/kernel/ |
D | module.c | 122 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | dwarf.h | 382 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
|
/linux-4.1.27/arch/avr32/kernel/ |
D | module.c | 60 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | module.c | 421 module_frob_arch_sections (Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, in module_frob_arch_sections() 912 module_finalize (const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *mod) in module_finalize()
|