Home
last modified time | relevance | path

Searched refs:Elf_Ehdr (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/arch/s390/kernel/
Dkexec_elf.c20 const Elf_Ehdr *ehdr; in kexec_file_add_elf_kernel()
24 ehdr = (Elf_Ehdr *)kernel; in kexec_file_add_elf_kernel()
68 const Elf_Ehdr *ehdr; in s390_elf_load()
74 ehdr = (Elf_Ehdr *)kernel; in s390_elf_load()
126 const Elf_Ehdr *ehdr; in s390_elf_probe()
128 if (len < sizeof(Elf_Ehdr)) in s390_elf_probe()
131 ehdr = (Elf_Ehdr *)buf; in s390_elf_probe()
Dmodule.c102 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
433 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v4.19/scripts/
Dinsert-sys-cert.c39 #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()
Drecordmcount.h36 #undef Elf_Ehdr
70 # define Elf_Ehdr Elf64_Ehdr macro
103 # define Elf_Ehdr Elf32_Ehdr macro
178 static void append_func(Elf_Ehdr *const ehdr, in append_func()
277 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp()
308 Elf_Ehdr const *const ehdr, in sift_rel_mcount()
355 Elf_Ehdr const *const ehdr, in nop_mcount()
421 Elf_Ehdr const *const ehdr) in find_secsym_ndx()
503 do_func(Elf_Ehdr *const ehdr, char const *const fname, unsigned const reltype) in do_func()
Dsortextable.h19 #undef Elf_Ehdr
41 # define Elf_Ehdr Elf64_Ehdr macro
62 # define Elf_Ehdr Elf32_Ehdr macro
93 do_func(Elf_Ehdr *ehdr, char const *const fname, table_sort_t custom_sort) in do_func()
/Linux-v4.19/tools/perf/util/
Dgenelf.h45 #define Elf_Ehdr Elf64_Ehdr macro
54 #define Elf_Ehdr Elf32_Ehdr macro
63 #define GEN_ELF_TEXT_OFFSET sizeof(Elf_Ehdr)
/Linux-v4.19/arch/x86/um/asm/
Dmodule.h14 #define Elf_Ehdr Elf32_Ehdr macro
20 #define Elf_Ehdr Elf64_Ehdr macro
/Linux-v4.19/include/asm-generic/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr macro
37 #define Elf_Ehdr Elf32_Ehdr macro
/Linux-v4.19/include/linux/
Dmoduleloader.h17 int module_frob_arch_sections(Elf_Ehdr *hdr,
79 int module_finalize(const Elf_Ehdr *hdr,
Dmodule.h323 Elf_Ehdr hdr;
807 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *,
813 static inline void module_bug_finalize(const Elf_Ehdr *hdr, in module_bug_finalize()
/Linux-v4.19/scripts/mod/
Dmodpost.h23 #define Elf_Ehdr Elf32_Ehdr macro
38 #define Elf_Ehdr Elf64_Ehdr macro
128 Elf_Ehdr *hdr;
/Linux-v4.19/arch/powerpc/kernel/
Dmodule.c32 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
46 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v4.19/arch/sparc/kernel/
Dmodule.c55 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-v4.19/arch/mips/include/asm/
Dmodule.h41 #define Elf_Ehdr Elf32_Ehdr macro
59 #define Elf_Ehdr Elf64_Ehdr macro
/Linux-v4.19/kernel/
Dmodule-internal.h19 Elf_Ehdr *hdr;
/Linux-v4.19/arch/mips/kernel/
Dvpe.c182 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-v4.19/arch/sh/kernel/
Dmodule.c112 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v4.19/arch/nios2/kernel/
Dmodule.c133 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/Linux-v4.19/arch/hexagon/kernel/
Dmodule.c40 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/Linux-v4.19/arch/arc/kernel/
Dmodule.c29 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/Linux-v4.19/arch/m68k/kernel/
Dmodule.c102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v4.19/lib/
Dbug.c87 void module_bug_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_bug_finalize()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c9 #define Elf_Ehdr ElfW(Ehdr) macro
14 static Elf_Ehdr ehdr;
247 if (ehdr.e_ehsize != sizeof(Elf_Ehdr)) in read_ehdr()
/Linux-v4.19/arch/sh/include/asm/
Ddwarf.h382 extern int module_dwarf_finalize(const Elf_Ehdr *, const Elf_Shdr *,
/Linux-v4.19/arch/riscv/kernel/
Dmodule-sections.c87 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()

12