Searched refs:elfhdr (Results 1 – 16 of 16) sorted by relevance
/linux-4.4.14/arch/x86/um/ |
D | elfcore.c | 11 return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0; in elf_core_extra_phdrs() 17 const struct elfhdr *const ehdrp = in elf_core_write_extra_phdrs() 18 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_phdrs() 44 const struct elfhdr *const ehdrp = in elf_core_write_extra_data() 45 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_data() 65 const struct elfhdr *const ehdrp = in elf_core_extra_data_size() 66 (struct elfhdr *)vsyscall_ehdr; in elf_core_extra_data_size()
|
/linux-4.4.14/include/linux/ |
D | elf.h | 26 #define elfhdr elf32_hdr macro 36 #define elfhdr elf64_hdr macro
|
D | elf-fdpic.h | 21 struct elfhdr hdr; /* ref copy of ELF header */
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | fadump.c | 247 size += sizeof(struct elfhdr); /* ELF core header.*/ in get_fadump_area_size() 529 struct elfhdr *elf; in fadump_update_elfcore_header() 532 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header() 533 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header() 765 struct elfhdr *elf; in fadump_init_elfcore_header() 767 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header() 768 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header() 779 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header() 782 elf->e_ehsize = sizeof(struct elfhdr); in fadump_init_elfcore_header() 838 struct elfhdr *elf; in fadump_create_elfcore_headers() [all …]
|
D | prom_init.c | 741 Elf32_Ehdr elfhdr; member 774 .elfhdr = {
|
/linux-4.4.14/fs/ |
D | binfmt_em86.c | 30 struct elfhdr elf_ex; in load_em86() 33 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
|
D | compat_binfmt_elf.c | 29 #undef elfhdr 34 #define elfhdr elf32_hdr macro
|
D | binfmt_elf.c | 151 create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec, in create_elf_tables() 400 static struct elf_phdr *load_elf_phdrs(struct elfhdr *elf_ex, in load_elf_phdrs() 481 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc() 504 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf() 518 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp() 682 struct elfhdr elf_ex; in load_elf_binary() 683 struct elfhdr interp_elf_ex; in load_elf_binary() 694 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary() 1114 struct elfhdr elf_ex; in load_elf_library() 1353 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() [all …]
|
D | binfmt_elf_fdpic.c | 107 static int is_elf(struct elfhdr *hdr, struct file *file) in is_elf() 128 static int is_constdisp(struct elfhdr *hdr) in is_constdisp() 207 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary() 287 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary() 1314 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() 1327 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header() 1330 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header() 1498 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 1578 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()
|
/linux-4.4.14/fs/proc/ |
D | kcore.c | 89 *elf_buflen = sizeof(struct elfhdr) + in get_kcore_size() 324 struct elfhdr *elf; in elf_kcore_store_hdr() 330 elf = (struct elfhdr *) bufp; in elf_kcore_store_hdr() 331 bufp += sizeof(struct elfhdr); in elf_kcore_store_hdr() 332 offset += sizeof(struct elfhdr); in elf_kcore_store_hdr() 343 elf->e_phoff = sizeof(struct elfhdr); in elf_kcore_store_hdr() 346 elf->e_ehsize = sizeof(struct elfhdr); in elf_kcore_store_hdr()
|
/linux-4.4.14/arch/alpha/boot/tools/ |
D | objstrip.c | 30 # define elfhdr elf64_hdr macro 60 struct elfhdr *elf; in main() 148 elf = (struct elfhdr *) buf; in main()
|
/linux-4.4.14/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 63 struct elfhdr *elf; in start_bootloader() 113 elf = (struct elfhdr *) mem; in start_bootloader()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | elf.h | 228 struct elfhdr *__h = (hdr); \ 259 struct elfhdr *__h = (hdr); \
|
/linux-4.4.14/arch/mips/kernel/ |
D | binfmt_elfn32.c | 36 struct elfhdr *__h = (hdr); \
|
D | binfmt_elfo32.c | 48 struct elfhdr *__h = (hdr); \
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | elf.h | 209 #define GATE_EHDR ((const struct elfhdr *) GATE_ADDR)
|