Searched refs:elf_phdr (Results 1 – 8 of 8) sorted by relevance
/qemu/bsd-user/ |
H A D | elfload.c | 39 static int load_elf_sections(const struct elfhdr *hdr, struct elf_phdr *phdr, 65 static void bswap_phdr(struct elf_phdr *phdr, int phnum) in bswap_phdr() 117 static void bswap_phdr(struct elf_phdr *phdr, int phnum) { } in bswap_phdr() 275 struct elf_phdr *elf_phdata = NULL; in load_elf_interp() 291 if (sizeof(struct elf_phdr) * interp_elf_ex->e_phnum > TARGET_PAGE_SIZE) { in load_elf_interp() 295 elf_phdata = (struct elf_phdr *) malloc(sizeof(struct elf_phdr) * in load_elf_interp() 306 if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr)) { in load_elf_interp() 314 sizeof(struct elf_phdr) * interp_elf_ex->e_phnum); in load_elf_interp() 529 load_elf_sections(const struct elfhdr *hdr, struct elf_phdr *phdr, int fd, in load_elf_sections() 532 struct elf_phdr *elf_ppnt; in load_elf_sections() [all …]
|
/qemu/bsd-user/freebsd/ |
H A D | target_os_elf.h | 108 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables()
|
/qemu/bsd-user/netbsd/ |
H A D | target_os_elf.h | 120 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables()
|
/qemu/bsd-user/openbsd/ |
H A D | target_os_elf.h | 120 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof(struct elf_phdr))); in target_create_elf_tables()
|
/qemu/linux-user/ |
H A D | elfload.c | 2147 static void bswap_phdr(struct elf_phdr *phdr, int phnum) in bswap_phdr() 2238 && ehdr->e_phentsize == sizeof(struct elf_phdr) in elf_check_ehdr() 2632 NEW_AUX_ENT(AT_PHENT, (abi_ulong)(sizeof (struct elf_phdr))); in create_elf_tables() 3120 const struct elf_phdr *phdr, in parse_elf_properties() 3210 g_autofree struct elf_phdr *phdr = NULL; in load_elf_image() 3235 ehdr->e_phnum * sizeof(struct elf_phdr), in load_elf_image() 3255 struct elf_phdr *eppnt = phdr + i; in load_elf_image() 3431 struct elf_phdr *eppnt = phdr + i; in load_elf_image() 4130 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_header() 4136 static void fill_elf_note_phdr(struct elf_phdr *phdr, size_t sz, off_t offset) in fill_elf_note_phdr() [all …]
|
/qemu/include/hw/ |
H A D | elf_ops.h.inc | 18 static void glue(bswap_phdr, SZ)(struct elf_phdr *phdr) 204 struct elf_phdr *ph, int elf_machine) 327 struct elf_phdr *phdr = NULL, *ph; 472 struct elf_phdr *jph = &phdr[j];
|
/qemu/include/ |
H A D | elf.h | 1768 #define elf_phdr elf32_phdr macro 1784 #define elf_phdr elf64_phdr macro
|
/qemu/hw/core/ |
H A D | loader.c | 312 #undef elf_phdr 322 #define elf_phdr elf64_phdr macro
|