Home
last modified time | relevance | path

Searched refs:phoff (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/lib/libelf/
Delf_update.c407 off_t rc, phoff, shoff; in _libelf_resync_elf() local
430 phoff = (uint64_t) eh32->e_phoff; in _libelf_resync_elf()
437 phoff = eh64->e_phoff; in _libelf_resync_elf()
503 if (rc > phoff) { in _libelf_resync_elf()
508 if (phoff % align) { in _libelf_resync_elf()
514 phoff = roundup(rc, align); in _libelf_resync_elf()
516 rc = phoff + fsz; in _libelf_resync_elf()
518 phoff = 0; in _libelf_resync_elf()
571 eh32->e_phoff = (uint32_t) phoff; in _libelf_resync_elf()
574 eh64->e_phoff = (uint64_t) phoff; in _libelf_resync_elf()
[all …]
Dlibelf_phdr.c44 uint64_t phoff; in _libelf_getphdr() local
74 phoff = (uint64_t) eh32->e_phoff; in _libelf_getphdr()
78 phoff = (uint64_t) eh64->e_phoff; in _libelf_getphdr()
85 if ((uint64_t) e->e_rawsize < (phoff + fsz)) { in _libelf_getphdr()
106 (*xlator)(phdr, phnum * msz, e->e_rawfile + phoff, phnum, in _libelf_getphdr()
/freebsd-9-stable/usr.bin/elf2aout/
Delf2aout.c75 Elf64_Off phoff; in main() local
127 phoff = xe64toh(e->e_phoff); in main()
129 p = (Elf64_Phdr *)((char *)e + phoff); in main()
/freebsd-9-stable/sys/contrib/ia64/libuwx/src/
Duwx_symbols.c179 uint64_t phoff; member
389 fseek(ef->fd, (long)ef->phoff, SEEK_SET); in elf_read_prog_hdrs()
421 fseek(ef->fd, (long)ef->phoff, SEEK_SET); in elf_read_prog_hdrs()
586 ef->phoff = header.hdr32.e_phoff; in elf_read_header()
604 ef->phoff = header.hdr64.e_phoff; in elf_read_header()
642 ef->phoff = 0; in elf_new()
/freebsd-9-stable/usr.bin/elfdump/
Delfdump.c383 u_int64_t phoff; in main() local
460 phoff = elf_get_off(e, e, E_PHOFF); in main()
467 p = (char *)e + phoff; in main()
563 u_int64_t phoff; in elf_print_ehdr() local
580 phoff = elf_get_off(e, e, E_PHOFF); in elf_print_ehdr()
597 fprintf(out, "\te_phoff: %jd\n", (intmax_t)phoff); in elf_print_ehdr()