/Linux-v4.19/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()
|
D | insert-sys-cert.c | 40 #define Elf_Shdr Elf32_Shdr macro 45 #define Elf_Shdr Elf64_Shdr macro 70 Elf_Shdr *x; in get_offset_from_address() 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() 138 Elf_Shdr *x; in find_elf_symbol() 157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() 160 Elf_Shdr *sec; in get_symbol_from_table() 163 Elf_Shdr *x; in get_symbol_from_table() 184 static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr) in get_symbol_table() 186 Elf_Shdr *x; in get_symbol_table() [all …]
|
/Linux-v4.19/include/linux/ |
D | moduleloader.h | 18 Elf_Shdr *sechdrs, 37 int apply_relocate(Elf_Shdr *sechdrs, 43 static inline int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() 60 int apply_relocate_add(Elf_Shdr *sechdrs, 66 static inline int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 80 const Elf_Shdr *sechdrs,
|
D | kexec.h | 111 Elf_Shdr *sechdrs; 178 Elf_Shdr *section, 179 const Elf_Shdr *relsec, 180 const Elf_Shdr *symtab); 182 Elf_Shdr *section, 183 const Elf_Shdr *relsec, 184 const Elf_Shdr *symtab);
|
/Linux-v4.19/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-v4.19/arch/arm/kernel/ |
D | module.c | 319 const Elf_Shdr *unw_sec; 320 const Elf_Shdr *txt_sec; 323 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr, in find_mod_section() 324 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() 326 const Elf_Shdr *s, *se; in find_mod_section() 339 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() 342 const Elf_Shdr *s = NULL; in module_finalize() 345 const Elf_Shdr *sechdrs_end = sechdrs + hdr->e_shnum; in module_finalize()
|
/Linux-v4.19/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()
|
/Linux-v4.19/kernel/ |
D | kexec_file.c | 123 arch_kexec_apply_relocations_add(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations_add() 124 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() 140 arch_kexec_apply_relocations(struct purgatory_info *pi, Elf_Shdr *section, in arch_kexec_apply_relocations() 141 const Elf_Shdr *relsec, const Elf_Shdr *symtab) in arch_kexec_apply_relocations() 726 const Elf_Shdr *sechdrs; in kexec_purgatory_setup_kbuf() 789 Elf_Shdr *sechdrs; in kexec_purgatory_setup_sechdrs() 796 sechdrs = vzalloc(array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum)); in kexec_purgatory_setup_sechdrs() 800 pi->ehdr->e_shnum * sizeof(Elf_Shdr)); in kexec_purgatory_setup_sechdrs() 847 const Elf_Shdr *sechdrs; in kexec_apply_relocations() 852 const Elf_Shdr *relsec; in kexec_apply_relocations() [all …]
|
D | module-internal.h | 21 Elf_Shdr *sechdrs;
|
/Linux-v4.19/arch/x86/um/asm/ |
D | module.h | 12 #define Elf_Shdr Elf32_Shdr macro 18 #define Elf_Shdr Elf64_Shdr macro
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | module.h | 102 int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); 104 static inline int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs) in module_finalize_ftrace()
|
/Linux-v4.19/include/asm-generic/ |
D | module.h | 16 #define Elf_Shdr Elf64_Shdr macro 33 #define Elf_Shdr Elf32_Shdr macro
|
/Linux-v4.19/scripts/mod/ |
D | modpost.h | 24 #define Elf_Shdr Elf32_Shdr macro 39 #define Elf_Shdr Elf64_Shdr macro 129 Elf_Shdr *sechdrs;
|
/Linux-v4.19/tools/perf/util/ |
D | genelf.h | 46 #define Elf_Shdr Elf64_Shdr macro 55 #define Elf_Shdr Elf32_Shdr macro
|
/Linux-v4.19/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 | 319 static int __apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in __apply_relocate() 404 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() 412 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 443 const Elf_Shdr *sechdrs, in module_finalize() 446 const Elf_Shdr *s; in module_finalize()
|
/Linux-v4.19/arch/s390/kernel/ |
D | machine_kexec_file.c | 148 Elf_Shdr *section, in arch_kexec_apply_relocations_add() 149 const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add() 150 const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add()
|
D | module.c | 102 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 105 Elf_Shdr *symtab; in module_frob_arch_sections() 408 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() 434 const Elf_Shdr *sechdrs, in module_finalize() 437 const Elf_Shdr *s; in module_finalize()
|
/Linux-v4.19/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-v4.19/arch/arc/kernel/ |
D | module.c | 29 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 135 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | module.h | 39 #define Elf_Shdr Elf32_Shdr macro 57 #define Elf_Shdr Elf64_Shdr macro
|
/Linux-v4.19/arch/parisc/kernel/ |
D | module.c | 320 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() 539 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 684 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() 849 const Elf_Shdr *sechdrs) in register_unwind_table() 874 const Elf_Shdr *sechdrs, in module_finalize() 881 Elf_Shdr *symhdr = NULL; in module_finalize() 909 symhdr = (Elf_Shdr *)&sechdrs[i]; in module_finalize()
|
/Linux-v4.19/arch/arm64/kernel/ |
D | module-plts.c | 113 Elf64_Word dstidx, Elf_Shdr *dstsec) in count_plts() 199 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() 205 Elf_Shdr *tramp = NULL; in module_frob_arch_sections()
|
/Linux-v4.19/arch/x86/kernel/ |
D | machine_kexec_64.c | 397 Elf_Shdr *section, const Elf_Shdr *relsec, in arch_kexec_apply_relocations_add() 398 const Elf_Shdr *symtabsec) in arch_kexec_apply_relocations_add() 406 const Elf_Shdr *sechdrs; in arch_kexec_apply_relocations_add()
|