Elf_Phdr
void (*arch_loadseg)(Elf_Ehdr *eh, Elf_Phdr *ph, uint64_t delta);
Elf_Phdr *phdr, *php;
phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff);
Elf_Phdr *ph;
const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
static Elf_Phdr EI_Phdr; /* recent Elf_Phdr to be stored */
size = sizeof (Elf_Phdr);
Elf_Phdr *phdr = &EI_Phdr;
Elf_Phdr *phdr;
for (i = 0, phdr = (Elf_Phdr *)(ehdr->e_phoff + lpc);
h.e_phentsize != sizeof(Elf_Phdr) ||
if ((ph = (Elf_Phdr*)malloc(size)) == NULL)
static Elf_Phdr *ph = NULL; /* program header array */