Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/s390/kernel/
Dkexec_elf.c20 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-v6.1/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.h40 #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 …]
Dsorttable.h27 #undef Elf_Ehdr
52 # define Elf_Ehdr Elf64_Ehdr macro
76 # define Elf_Ehdr Elf32_Ehdr macro
205 Elf_Ehdr *ehdr;
261 static int do_sort(Elf_Ehdr *ehdr, in do_sort()
/Linux-v6.1/arch/x86/um/asm/
Dmodule.h14 #define Elf_Ehdr Elf32_Ehdr macro
20 #define Elf_Ehdr Elf64_Ehdr macro
/Linux-v6.1/tools/perf/util/
Dgenelf.h60 #define Elf_Ehdr Elf64_Ehdr macro
71 #define Elf_Ehdr Elf32_Ehdr macro
81 #define GEN_ELF_TEXT_OFFSET round_up(sizeof(Elf_Ehdr) + sizeof(Elf_Phdr), 16)
/Linux-v6.1/include/linux/
Dcfi.h30 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
33 static inline void module_cfi_finalize(const Elf_Ehdr *hdr, in module_cfi_finalize()
Dmoduleloader.h17 int module_frob_arch_sections(Elf_Ehdr *hdr,
89 int module_finalize(const Elf_Ehdr *hdr,
Dmodule.h356 Elf_Ehdr hdr;
840 void module_bug_finalize(const Elf_Ehdr *, const Elf_Shdr *,
846 static inline void module_bug_finalize(const Elf_Ehdr *hdr, in module_bug_finalize()
/Linux-v6.1/include/asm-generic/
Dmodule.h20 #define Elf_Ehdr Elf64_Ehdr macro
37 #define Elf_Ehdr Elf32_Ehdr macro
/Linux-v6.1/scripts/mod/
Dmodpost.h25 #define Elf_Ehdr Elf32_Ehdr macro
39 #define Elf_Ehdr Elf64_Ehdr macro
136 Elf_Ehdr *hdr;
/Linux-v6.1/arch/mips/include/asm/
Dmodule.h41 #define Elf_Ehdr Elf32_Ehdr macro
59 #define Elf_Ehdr Elf64_Ehdr macro
/Linux-v6.1/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-v6.1/arch/powerpc/kernel/
Dmodule.c22 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
36 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v6.1/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()
800 Elf_Ehdr *hdr; in vpe_release()
807 hdr = (Elf_Ehdr *) v->pbuffer; in vpe_release()
/Linux-v6.1/arch/arm64/include/asm/
Dmodule.h62 static inline const Elf_Shdr *find_section(const Elf_Ehdr *hdr, in find_section()
/Linux-v6.1/kernel/module/
Dinternal.h61 Elf_Ehdr *hdr;
225 int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs,
Dstrict_rwx.c125 int module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_enforce_rwx_sections()
/Linux-v6.1/kernel/
Dcfi.c48 void module_cfi_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_cfi_finalize()
/Linux-v6.1/arch/sh/kernel/
Dmodule.c90 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v6.1/arch/nios2/kernel/
Dmodule.c132 int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize()
/Linux-v6.1/arch/hexagon/kernel/
Dmodule.c27 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/Linux-v6.1/arch/m68k/kernel/
Dmodule.c102 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()
/Linux-v6.1/arch/arc/kernel/
Dmodule.c26 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/Linux-v6.1/arch/arm64/kernel/
Dmodule.c484 static int module_init_ftrace_plt(const Elf_Ehdr *hdr, in module_init_ftrace_plt()
508 int module_finalize(const Elf_Ehdr *hdr, in module_finalize()

12