Home | History | Annotate | Download | only in installboot

Lines Matching defs:ph

78 	Elf32_Phdr ph;
113 (void)lseek(fd, be32toh(eh.e_phoff) + sizeof(ph) * i, SEEK_SET);
114 if (read(fd, &ph, sizeof(ph)) != sizeof(ph)) {
115 warn("read: ph: %s", boot);
119 if ((be32toh(ph.p_type) != PT_LOAD) ||
120 !(be32toh(ph.p_flags) & PF_X))
123 imgsz = st.st_size - be32toh(ph.p_offset);
124 lseek(fd, be32toh(ph.p_offset), SEEK_SET);