Home
last modified time | relevance | path

Searched refs:e_phoff (Results 1 – 25 of 56) sorted by relevance

123

/NextBSD/contrib/elftoolchain/libelf/
HDgelf_ehdr.c73 d->e_phoff = eh32->e_phoff; in gelf_getehdr()
156 LIBELF_COPY_U32(eh32, s, e_phoff); in gelf_update_ehdr()
HDlibelf_phdr.c71 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr()
74 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
HDelf_update.c533 phoff = (off_t) eh32->e_phoff; in _libelf_resync_elf()
539 phoff = (off_t) eh64->e_phoff; in _libelf_resync_elf()
697 eh32->e_phoff = (uint32_t) phoff; in _libelf_resync_elf()
700 eh64->e_phoff = (uint64_t) phoff; in _libelf_resync_elf()
896 phoff = (uint64_t) eh32->e_phoff; in _libelf_write_phdr()
899 phoff = eh64->e_phoff; in _libelf_write_phdr()
HDelf_types.m4107 `e_phoff, OFF',
124 `e_phoff, OFF',
/NextBSD/libexec/rtld-elf/
HDmap_object.c103 phdr = (Elf_Phdr *) ((char *)hdr + hdr->e_phoff); in map_object()
263 if (phdr_vaddr == 0 && data_offset <= hdr->e_phoff && in map_object()
265 (hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) { in map_object()
266 phdr_vaddr = data_vaddr + hdr->e_phoff - data_offset; in map_object()
293 memcpy((char *)obj->phdr, (char *)hdr + hdr->e_phoff, phsize); in map_object()
372 if (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) > in get_elf_header()
/NextBSD/contrib/file/src/
HDelfclass.h44 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
59 (off_t)elf_getu(swap, elfhdr.e_phoff), phnum,
HDreadelf.h62 Elf32_Off e_phoff; member
79 Elf64_Off e_phoff; member
/NextBSD/contrib/binutils/include/elf/
HDexternal.h46 unsigned char e_phoff[4]; /* Program header table file offset */ member
63 unsigned char e_phoff[8]; /* Program header table file offset */ member
HDinternal.h47 bfd_size_type e_phoff; /* Program header table file offset */ member
/NextBSD/contrib/binutils/bfd/
HDelfcore.h176 if (i_ehdrp->e_phoff == 0 || i_ehdrp->e_type != ET_CORE) in elf_core_file_p()
185 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
HDelfcode.h242 dst->e_phoff = H_GET_WORD (abfd, src->e_phoff); in elf_swap_ehdr_in()
272 H_PUT_WORD (abfd, src->e_phoff, dst->e_phoff); in elf_swap_ehdr_out()
828 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_object_p()
1548 fprintf (stderr, "e_phoff = %ld\n", (long) ehdrp->e_phoff); in elf_debug_file()
1650 err = target_read_memory (ehdr_vma + i_ehdr.e_phoff, (bfd_byte *) x_phdrs, in NAME()
/NextBSD/lib/libkvm/
HDkvm_powerpc.c123 be32toh(vm->eh->e_phoff); in powerpc_maphdrs()
134 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); in powerpc_maphdrs()
HDkvm_powerpc64.c123 be64toh(vm->eh->e_phoff); in powerpc_maphdrs()
135 (uintptr_t)be64toh(vm->eh->e_phoff)); in powerpc_maphdrs()
/NextBSD/usr.bin/ldd/
HDldd.c326 if (lseek(fd, hdr.elf32.e_phoff, SEEK_SET) == -1) { in is_executable()
368 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) { in is_executable()
/NextBSD/sys/kern/
HDkern_dump.c312 ehdr.e_phoff = sizeof(ehdr); in dumpsys_generic()
324 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys_generic()
HDimgact_elf.c685 if ((hdr->e_phoff > PAGE_SIZE) || in __elfN()
686 (u_int)hdr->e_phentsize * hdr->e_phnum > PAGE_SIZE - hdr->e_phoff) { in __elfN()
691 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
766 if ((hdr->e_phoff > PAGE_SIZE) || in __CONCAT()
767 (u_int)hdr->e_phentsize * hdr->e_phnum > PAGE_SIZE - hdr->e_phoff) { in __CONCAT()
772 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT()
906 hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize in __CONCAT()
908 proghdr = phdr[i].p_vaddr + hdr->e_phoff + in __CONCAT()
1631 ehdr->e_phoff = sizeof(Elf_Ehdr); in __elfN()
2260 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
/NextBSD/sys/sys/
HDelf32.h61 Elf32_Off e_phoff; /* Program header file offset. */ member
HDelf64.h70 Elf64_Off e_phoff; /* Program header file offset. */ member
/NextBSD/usr.bin/elf2aout/
HDelf2aout.c127 phoff = xe64toh(e->e_phoff); in main()
/NextBSD/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c148 dst->e_phoff = (Elf64_Off)src->e_phoff; in ehdr_to_gelf()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
HDELFHeader.h63 elf_off e_phoff; ///< File offset of program header table. member
/NextBSD/sys/mips/mips/
HDelf_trampoline.c129 memcpy(phdr, (void *)(kstart + eh->e_phoff), in load_kernel()
/NextBSD/sys/compat/linux/
HDlinux_vdso.c157 phdr = (Elf_Phdr *)((caddr_t)ehdr + ehdr->e_phoff); in __elfN()
/NextBSD/sys/boot/sparc64/boot1/
HDboot1.c429 fs_off = eh.e_phoff + i * eh.e_phentsize; in loadzfs()
477 fs_off = eh.e_phoff + i * eh.e_phentsize; in load()
/NextBSD/contrib/llvm/include/llvm/Support/
HDELF.h69 Elf32_Off e_phoff; // Program header table's file offset, in bytes member
93 Elf64_Off e_phoff; member

123