| /src/sys/arch/emips/stand/common/ |
| bootxx.c | 156 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
|
| /src/sys/arch/mipsco/stand/common/ |
| bootxx.c | 146 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
|
| /src/sys/arch/mvme68k/stand/bootxx/ |
| bootxx.c | 138 Elf32_Phdr *ep = (Elf32_Phdr *)(*addr + x->eh.e_phoff);
|
| /src/usr.sbin/mdsetimage/ |
| exec_elf32.c | 102 phdr_off = ehdrp->e_phoff;
|
| /src/sys/arch/hpc/stand/hpcboot/ |
| load_elf.cpp | 93 if (_file->read(_ph, sz, _eh.e_phoff) != sz) { 219 eh->e_phoff = 0; 328 if (_eh.e_phoff == 0 || _eh.e_phnum == 0 || _eh.e_phnum > 16 ||
|
| /src/sys/arch/epoc32/stand/e32boot/exe/ |
| netbsd.cpp | 101 Mem::Copy(phdr, Buffer + ehdr.e_phoff, PhdrSize);
|
| /src/sys/arch/pmax/stand/common/ |
| bootxx.c | 178 if (lseek(fd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
|
| /src/sys/arch/x68k/stand/aout2hux/ |
| aout68k.h | 105 be_uint32_t e_phoff; /* program header address */ member in struct:elf_m68k_hdr
|
| /src/usr.sbin/mopd/common/ |
| file.c | 460 uint32_t e_phoff, e_phentsize, e_phnum; 489 e_phoff = mopFileGetLX((u_char *) &ehdr, 490 offsetof(Elf32_Ehdr, e_phoff), 491 sizeof(ehdr.e_phoff)); 508 e_phoff = mopFileGetBX((u_char *) &ehdr, 509 offsetof(Elf32_Ehdr, e_phoff), 510 sizeof(ehdr.e_phoff)); 531 if (lseek(dl->ldfd, (off_t) e_phoff + (i * e_phentsize),
|
| /src/libexec/ld.elf_so/ |
| map_object.c | 168 assert(ehdr->e_phoff + ehdr->e_phnum * sizeof(Elf_Phdr) <= 177 phdr = (Elf_Phdr *) ((caddr_t)ehdr + ehdr->e_phoff); 270 phdr = (Elf_Phdr *) ((caddr_t)ehdr + ehdr->e_phoff); 423 if (segs[i]->p_offset <= ehdr->e_phoff && 425 phdr_vaddr = segs[i]->p_vaddr + ehdr->e_phoff;
|
| /src/sys/lib/libsa/ |
| loadfile_elf32.c | 97 I32(ehdr->e_phoff); 111 I64(ehdr->e_phoff); 134 E32(ehdr->e_phoff); 148 E64(ehdr->e_phoff); 378 elf->e_phoff = 0; 709 ret = ELFNAMEEND(readfile_local)(fd, elf->e_phoff, phdr, sz); 794 elf->e_phoff = 0;
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| elf.c | 159 if (lseek(fd, elf->e_phoff, SEEK_SET) == -1) { 268 dbg_eh.e_phoff = 0;
|
| /src/sys/arch/hppa/stand/xxboot/ |
| main.c | 353 ph = (void *) (top + hdr->e_phoff); 374 ph = (void *) (top + (unsigned) hdr->e_phoff);
|
| /src/sys/arch/zaurus/stand/zbsdmod/ |
| zbsdmod.c | 108 #define phdr ((Elf32_Phdr *)((char *)elf + elf->e_phoff)) 226 ((Elf_Ehdr *)elfv)->e_phoff = 0;
|
| /src/sys/kern/ |
| core_elf32.c | 188 ehdr.e_phoff = sizeof(ehdr); 194 ehdr.e_phoff = sizeof(ehdr) + sizeof(shdr); 220 notestart = ehdr.e_phoff + psectionssize;
|
| exec_elf.c | 503 error = exec_read(l, vp, eh.e_phoff, ph, phsize, IO_NODELOCKED); 696 error = exec_read(l, epp->ep_vp, eh->e_phoff, ph, phsize, 793 computed_phdr = ph[i].p_vaddr + eh->e_phoff; 919 error = exec_read(l, epp->ep_vp, eh->e_phoff, ph, phsize,
|
| /src/usr.bin/elf2aout/ |
| elf2aout.c | 256 ex.e_phoff = bswap32(ex.e_phoff); 271 ph = saveRead(infile, ex.e_phoff,
|
| /src/tools/amiga-elf2bb/sys/ |
| exec_elf.h | 94 Elf32_Off e_phoff; /* Program hdr offset */ member in struct:__anonc1fa11540108 111 Elf64_Off e_phoff; /* Program hdr offset */ member in struct:__anonc1fa11540208
|
| /src/sys/arch/ews4800mips/stand/common/ |
| bootxx.c | 203 p = (void *)(buf + e->e_phoff);
|
| /src/sys/arch/pmax/stand/smallnet/setnetimage/ |
| setnetimage.c | 140 if (lseek(ifd, (off_t) ehdr.e_phoff + i * sizeof(phdr), 0) < 0)
|
| /src/sys/arch/prep/stand/installboot/ |
| installboot.c | 113 (void)lseek(fd, be32toh(eh.e_phoff) + sizeof(ph) * i, SEEK_SET);
|
| /src/sys/arch/x68k/stand/common/ |
| exec_sub.c | 132 ph = (void *) (top + hdr->e_phoff);
|
| /src/sys/dev/ |
| kloader.c | 207 if (kloader_read(eh.e_phoff, phsz, ph) != 0) { 325 eh.e_phoff = 0;
|
| /src/sys/arch/atari/stand/tostools/libtos/ |
| exec_elf.h | 110 Elf32_Off e_phoff; /* Program hdr offset */ member in struct:__anon5ac53e540108
|
| /src/sys/arch/vax/boot/xxboot/ |
| bootxx.c | 157 if (hdr.elf.e_phoff != sizeof(hdr.elf))
|