| /openbmc/qemu/bsd-user/ |
| H A D | elfload.c | 59 bswap16s(&ehdr->e_phnum); /* Program header table entry count */ in bswap_ehdr() 291 if (sizeof(struct elf_phdr) * interp_elf_ex->e_phnum > TARGET_PAGE_SIZE) { in load_elf_interp() 296 interp_elf_ex->e_phnum); in load_elf_interp() 314 sizeof(struct elf_phdr) * interp_elf_ex->e_phnum); in load_elf_interp() 322 bswap_phdr(elf_phdata, interp_elf_ex->e_phnum); in load_elf_interp() 544 for (i = 0, elf_ppnt = phdr; i < hdr->e_phnum; i++, elf_ppnt++) { in load_elf_sections() 634 elf_phdata = (struct elf_phdr *)malloc(elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary() 642 elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary() 652 bswap_phdr(elf_phdata, elf_ex.e_phnum); in load_elf_binary() 659 for (i = 0; i < elf_ex.e_phnum; i++) { in load_elf_binary() [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | prelink-riscv.inc | 51 for (p = phdrs; p < phdrs + ehdr->e_phnum; ++p) { 68 rela_dyn = get_offset_nn(data, phdrs, ehdr->e_phnum, + dyn->d_un.d_ptr); 72 dynsym = get_offset_nn(data, phdrs, ehdr->e_phnum, + dyn->d_un.d_ptr); 83 void* buf = get_offset_nn(data, phdrs, ehdr->e_phnum, r->r_offset);
|
| H A D | img2srec.c | 262 getPtr = ExtractWord(&elfHeader.e_phnum, getPtr); in ConvertELF()
|
| /openbmc/qemu/contrib/elf2dmp/ |
| H A D | qemu_elf.c | 36 return ehdr->e_phnum; in elf_getphdrnum() 172 if (ehdr->e_phnum < 2) { in check_ehdr() 177 if (umul64_overflow(ehdr->e_phnum, sizeof(Elf64_Phdr), &phendoff) || in check_ehdr()
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | relocate_sdk.py | 82 e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx 97 e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx =\ 107 for i in range(0,e_phnum):
|
| /openbmc/qemu/bsd-user/freebsd/ |
| H A D | target_os_elf.h | 109 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables()
|
| /openbmc/qemu/bsd-user/openbsd/ |
| H A D | target_os_elf.h | 121 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables()
|
| /openbmc/qemu/bsd-user/netbsd/ |
| H A D | target_os_elf.h | 121 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in target_create_elf_tables()
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/ |
| H A D | ldconfig-handle-.dynstr-located-in-separate-segment.patch | 77 + i < read16(elf_header->e_phnum, be); i++, segment++) 155 + i < read16(elf_header->e_phnum, be); i++, segment++)
|
| H A D | endian-ness_handling.patch | 68 - i < elf_header->e_phnum; i++, segment++) 69 + i < read16(elf_header->e_phnum, be); i++, segment++) 214 - i < elf_header->e_phnum; i++, segment++) 215 + i < read16(elf_header->e_phnum, be); i++, segment++)
|
| H A D | 32and64bit.patch | 64 + i < elf_header->e_phnum; i++, segment++)
|
| /openbmc/qemu/scripts/ |
| H A D | dump-guest-memory.py | 169 self.ehdr.e_phnum += 1 274 self.e_phnum = 0 303 self.e_phnum = 0
|
| /openbmc/qemu/include/hw/ |
| H A D | elf_ops.h.inc | 12 bswap16s(&ehdr->e_phnum); /* Program header table entry count */ 396 size = ehdr.e_phnum * sizeof(phdr[0]); 406 for(i = 0; i < ehdr.e_phnum; i++) { 423 for(i = 0; i < ehdr.e_phnum; i++) { 471 for (j = 0; j < ehdr.e_phnum; j++) {
|
| /openbmc/qemu/linux-user/ |
| H A D | gen-vdso-elfn.c.inc | 21 bswaps(&ehdr->e_phnum); /* Program header table entry count */ 103 for (i = 0; i < ehdr->e_phnum; ++i) { 130 phnum = ehdr->e_phnum;
|
| H A D | elfload.c | 203 bswap16s(&ehdr->e_phnum); /* Program header table entry count */ in elf_core_copy_regs() 695 NEW_AUX_ENT(AT_PHNUM, (abi_ulong)(exec->e_phnum)); in init_thread() 1296 ehdr->e_phnum * sizeof(struct elf_phdr), in init_thread() 1301 bswap_phdr(phdr, ehdr->e_phnum); 1315 for (i = 0; i < ehdr->e_phnum; ++i) { in elf_core_copy_regs() 1443 for (i = 0; i < ehdr->e_phnum; ++i) { 1491 for (i = 0; i < ehdr->e_phnum; i++) { 2197 elf->e_phnum = segs;
|
| /openbmc/u-boot/include/ |
| H A D | elf.h | 102 Elf32_Half e_phnum; /* number of program header entries */ member 120 Elf64_Half e_phnum; /* number of program header entries */ member
|
| /openbmc/u-boot/cmd/ |
| H A D | elf.c | 45 for (i = 0; i < ehdr->e_phnum; ++i) { in load_elf64_image_phdr() 160 for (i = 0; i < ehdr->e_phnum; ++i) { in load_elf_image_phdr()
|
| /openbmc/qemu/include/ |
| H A D | elf.h | 1517 Elf32_Half e_phnum; member 1534 Elf64_Half e_phnum; member
|
| /openbmc/qemu/dump/ |
| H A D | dump.c | 157 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf64_header() 184 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf32_header()
|
| /openbmc/qemu/tcg/ |
| H A D | tcg.c | 7170 .e_phnum = 1, in tcg_register_jit_int()
|