Searched defs:elfhdrp (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/psm/stand/boot/common/
H A Dreadfile.c326 read_elf32(int fd, int print, Elf32_Ehdr *elfhdrp) argument
355 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0)
359 entrypt = (func_t)(uintptr_t)elfhdrp->e_entry;
366 nphdrs = elfhdrp->e_phnum;
367 phdrsize = nphdrs * elfhdrp->e_phentsize;
372 dprintf("lseek: args = %x %x %x\n", fd, elfhdrp->e_phoff, 0);
373 if (lseek(fd, elfhdrp->e_phoff, 0) == -1)
386 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i);
444 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp
725 read_elf64(int fd, int print, Elf64_Ehdr *elfhdrp) argument
[all...]

Completed in 56 milliseconds