/Linux-v5.10/arch/s390/kernel/ |
D | kexec_elf.c | 20 const Elf_Ehdr *ehdr; in kexec_file_add_kernel_elf() 27 ehdr = (Elf_Ehdr *)kernel; in kexec_file_add_kernel_elf() 71 const Elf_Ehdr *ehdr; in s390_elf_load() 77 ehdr = (Elf_Ehdr *)kernel; in s390_elf_load() 112 const Elf_Ehdr *ehdr; in s390_elf_probe() 114 if (len < sizeof(Elf_Ehdr)) in s390_elf_probe() 117 ehdr = (Elf_Ehdr *)buf; in s390_elf_probe()
|
/Linux-v5.10/scripts/ |
D | insert-sys-cert.c | 39 #define Elf_Ehdr Elf32_Ehdr macro 44 #define Elf_Ehdr Elf64_Ehdr macro 68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() 93 static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name, in get_symbol_from_map() 133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() 157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() 184 static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr) in get_symbol_table() 260 static void print_sym(Elf_Ehdr *hdr, struct sym *s) in print_sym() 280 Elf_Ehdr *hdr; in main()
|
D | recordmcount.h | 40 #undef Elf_Ehdr 79 # define Elf_Ehdr Elf64_Ehdr macro 117 # define Elf_Ehdr Elf32_Ehdr macro 206 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum() 214 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() 223 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx() 231 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab() 253 static int append_func(Elf_Ehdr *const ehdr, in append_func() 368 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp() 399 Elf_Ehdr const *const ehdr, in sift_rel_mcount() [all …]
|
D | sorttable.h | 24 #undef Elf_Ehdr 46 # define Elf_Ehdr Elf64_Ehdr macro 67 # define Elf_Ehdr Elf32_Ehdr macro 195 static int do_sort(Elf_Ehdr *ehdr, in do_sort()
|
/Linux-v5.10/tools/perf/util/ |
D | genelf.h | 54 #define Elf_Ehdr Elf64_Ehdr macro 63 #define Elf_Ehdr Elf32_Ehdr macro 72 #define GEN_ELF_TEXT_OFFSET sizeof(Elf_Ehdr)
|
/Linux-v5.10/arch/x86/um/asm/ |
D | module.h | 14 #define Elf_Ehdr Elf32_Ehdr macro 20 #define Elf_Ehdr Elf64_Ehdr macro
|
/Linux-v5.10/include/asm-generic/ |
D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr macro 37 #define Elf_Ehdr Elf32_Ehdr macro
|
/Linux-v5.10/include/linux/ |
D | moduleloader.h | 17 int module_frob_arch_sections(Elf_Ehdr *hdr, 89 int module_finalize(const Elf_Ehdr *hdr,
|
D | module.h | 354 Elf_Ehdr hdr; 855 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *, 861 static inline void module_bug_finalize(const Elf_Ehdr *hdr, in module_bug_finalize()
|
/Linux-v5.10/scripts/mod/ |
D | modpost.h | 23 #define Elf_Ehdr Elf32_Ehdr macro 38 #define Elf_Ehdr Elf64_Ehdr macro 137 Elf_Ehdr *hdr;
|
/Linux-v5.10/arch/mips/include/asm/ |
D | module.h | 41 #define Elf_Ehdr Elf32_Ehdr macro 59 #define Elf_Ehdr Elf64_Ehdr macro
|
/Linux-v5.10/arch/sparc/kernel/ |
D | module.c | 55 int module_frob_arch_sections(Elf_Ehdr *hdr, in module_frob_arch_sections() 184 static void do_patch_sections(const Elf_Ehdr *hdr, in do_patch_sections() 207 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | module.c | 20 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 34 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/Linux-v5.10/kernel/ |
D | module-internal.h | 15 Elf_Ehdr *hdr;
|
/Linux-v5.10/arch/mips/kernel/ |
D | vpe.c | 182 static void layout_sections(struct module *mod, const Elf_Ehdr *hdr, in layout_sections() 578 Elf_Ehdr *hdr; in vpe_elfload() 588 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_elfload() 822 Elf_Ehdr *hdr; in vpe_release() 829 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | module.c | 474 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 494 static int module_init_ftrace_plt(const Elf_Ehdr *hdr, in module_init_ftrace_plt() 518 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/Linux-v5.10/arch/sh/kernel/ |
D | module.c | 90 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/Linux-v5.10/arch/nios2/kernel/ |
D | module.c | 132 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
/Linux-v5.10/arch/hexagon/kernel/ |
D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
/Linux-v5.10/arch/m68k/kernel/ |
D | module.c | 102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
/Linux-v5.10/arch/arc/kernel/ |
D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
/Linux-v5.10/lib/ |
D | bug.c | 88 void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_bug_finalize()
|
/Linux-v5.10/arch/mips/boot/tools/ |
D | relocs.c | 9 #define Elf_Ehdr ElfW(Ehdr) macro 14 static Elf_Ehdr ehdr; 247 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|
/Linux-v5.10/arch/sh/include/asm/ |
D | dwarf.h | 378 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
|
/Linux-v5.10/arch/riscv/kernel/ |
D | module-sections.c | 90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|