| /linux/arch/s390/kernel/ |
| H A 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() 73 const Elf_Ehdr *ehdr; in s390_elf_load() 79 ehdr = (Elf_Ehdr *)kernel; in s390_elf_load() 114 const Elf_Ehdr *ehdr; in s390_elf_probe() 116 if (len < sizeof(Elf_Ehdr)) in s390_elf_probe() 119 ehdr = (Elf_Ehdr *)buf; in s390_elf_probe()
|
| /linux/scripts/ |
| H A D | elf-parse.h | 13 } Elf_Ehdr; typedef 32 uint64_t (*ehdr_shoff)(Elf_Ehdr *ehdr); 33 uint16_t (*ehdr_shstrndx)(Elf_Ehdr *ehdr); 34 uint16_t (*ehdr_shentsize)(Elf_Ehdr *ehdr); 35 uint16_t (*ehdr_shnum)(Elf_Ehdr *ehdr); 60 static inline uint64_t ehdr64_shoff(Elf_Ehdr *ehdr) in ehdr64_shoff() 65 static inline uint64_t ehdr32_shoff(Elf_Ehdr *ehdr) in ehdr32_shoff() 70 static inline uint64_t ehdr_shoff(Elf_Ehdr *ehdr) in ehdr_shoff() 76 static inline uint16_t ehdr64_##fn_name(Elf_Ehdr *ehdr) \ 81 static inline uint16_t ehdr32_##fn_name(Elf_Ehdr *ehdr) \ [all …]
|
| H A 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()
|
| H A D | recordmcount.h | 40 #undef Elf_Ehdr 79 # define Elf_Ehdr Elf64_Ehdr macro 117 # define Elf_Ehdr Elf32_Ehdr macro 211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum() 219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() 228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx() 236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab() 258 static int append_func(Elf_Ehdr *const ehdr, in append_func() 373 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp() 404 Elf_Ehdr const *const ehdr, in sift_rel_mcount() [all …]
|
| H A D | tracepoint-update.c | 34 Elf_Ehdr *ehdr; 83 Elf_Ehdr *ehdr = etrace->ehdr; in make_trace_array() 119 Elf_Ehdr *ehdr = etrace->ehdr; in check_tracepoints() 156 Elf_Ehdr *ehdr = addr; in process_tracepoints()
|
| H A D | elf-parse.c | 57 Elf_Ehdr *ehdr = addr; in elf_parse() 165 Elf_Ehdr *ehdr = addr; in elf_map_machine() 172 Elf_Ehdr *ehdr = addr; in elf_map_long_size()
|
| H A D | sorttable.c | 353 Elf_Ehdr *ehdr; 360 static int fill_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc) in fill_relocs() 417 static void replace_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc) in replace_relocs() 489 Elf_Ehdr *ehdr = emloc->ehdr; in sort_mcount_loc() 590 static int do_sort(Elf_Ehdr *ehdr, in do_sort() 890 Elf_Ehdr *ehdr = addr; in do_file()
|
| /linux/include/asm-generic/ |
| H A D | module.h | 20 #define Elf_Ehdr Elf64_Ehdr macro 33 #define Elf_Ehdr Elf32_Ehdr macro
|
| /linux/include/linux/ |
| H A D | cfi.h | 73 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 76 static inline void module_cfi_finalize(const Elf_Ehdr *hdr, in module_cfi_finalize()
|
| /linux/arch/mips/include/asm/ |
| H A D | module.h | 41 #define Elf_Ehdr Elf32_Ehdr macro 59 #define Elf_Ehdr Elf64_Ehdr macro
|
| /linux/arch/powerpc/kernel/ |
| H A D | module.c | 19 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section() 33 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /linux/kernel/module/ |
| H A D | internal.h | 68 Elf_Ehdr *hdr; 335 int module_enforce_rwx_sections(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 338 void module_mark_ro_after_init(const Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
|
| /linux/arch/riscv/kernel/ |
| H A D | alternative.c | 179 const Elf_Ehdr *hdr; in apply_vdso_alternatives() 184 hdr = (Elf_Ehdr *)vdso_start; in apply_vdso_alternatives()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 183 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() 800 Elf_Ehdr *hdr; in vpe_release() 807 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
|
| /linux/arch/s390/include/asm/ |
| H A D | module.h | 41 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 36 #define Elf_Ehdr ElfW(Ehdr) macro 41 static Elf_Ehdr ehdr; 155 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|
| /linux/arch/arm64/include/asm/ |
| H A D | module.h | 54 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /linux/arch/sh/kernel/ |
| H A D | module.c | 90 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /linux/kernel/ |
| H A D | cfi.c | 65 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_cfi_finalize()
|
| /linux/arch/nios2/kernel/ |
| H A D | module.c | 112 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
|
| /linux/arch/riscv/include/asm/ |
| H A D | module.h | 115 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
|
| /linux/arch/hexagon/kernel/ |
| H A D | module.c | 27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /linux/arch/m68k/kernel/ |
| H A D | module.c | 102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
|
| /linux/arch/arc/kernel/ |
| H A D | module.c | 26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 9 #define Elf_Ehdr ElfW(Ehdr) macro 14 static Elf_Ehdr ehdr; 248 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
|