Elf32_Phdr
static Elf32_Phdr ep[2];
static Elf32_Phdr ep[2];
Elf32_Phdr *phdr; /* 32 bit prog header for current file */
#define Elf_Phdr Elf32_Phdr
gelf32_to_phdr(const Elf32_Phdr *src, GElf_Phdr *dst)
if (gelf_phdrs_init(gf, sizeof (Elf32_Phdr),
Elf32_Phdr *os_phdr; /* Program header array */
Elf32_Phdr *p = &((Elf32_Phdr *)elf32_getphdr(elf))[ndx];
Elf32_Phdr *dst = &((Elf32_Phdr *)elf32_getphdr(elf))[ndx];
Elf32_Phdr *
return ((Elf32_Phdr*) getphdr(elf, ELFCLASS32));
#define Elf_Phdr Elf32_Phdr
Elf32_Phdr * ph = elf32_getphdr(dst_elf) +
Elf32_Phdr *phdr;
phdr = (Elf32_Phdr *)
Elf32_Phdr *elf32_getphdr(Elf *);
Elf32_Phdr *elf32_newphdr(Elf *, size_t);
phdr = (Elf32_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) {
Elf32_Phdr *phdr; /* first Phdr in file */
Elf32_Phdr *pptr; /* working Phdr */
Elf32_Phdr *lph; /* last loadable Phdr */
Elf32_Phdr *fph = 0; /* first loadable Phdr */
phdr = (Elf32_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize))
pptr = (Elf32_Phdr *)((caddr_t)pptr + ehdr->e_phentsize)) {
Elf32_Phdr *phdr; /* first Phdr in file */
Elf32_Phdr *pptr; /* working Phdr */
Elf32_Phdr *lph = NULL; /* last loadable Phdr */
Elf32_Phdr *fph = NULL; /* first loadable Phdr */
elf_file.ehdr.e_phentsize = sizeof (Elf32_Phdr);
if (sizeof(Elf32_Phdr) != sizeof(dw_elf32_phdr)) {
#define Elf_Phdr Elf32_Phdr
core_phdr_to_gelf(const Elf32_Phdr *src, GElf_Phdr *dst)
Elf32_Phdr phdr32;
ehdr.e_phentsize = sizeof (Elf32_Phdr);
Elf32_Phdr phdr;
Elf32_Phdr phdr;
Elf32_Phdr phdr;
Elf32_Phdr phdr32;
uint_t phnum, Elf32_Phdr *phdr, uintptr_t addr)
Elf32_Phdr phdr;
Elf32_Phdr phdr;
Elf32_Phdr phdr;
uintptr_t addr, Elf32_Ehdr *ehdr, uint_t phnum, Elf32_Phdr *phdr);
static func_t iload32(char *, Elf32_Phdr *, Elf32_Phdr *, auxv32_t **);
Elf32_Phdr *phdr; /* program header */
Elf32_Phdr *thdr; /* "text" program header */
Elf32_Phdr *dhdr; /* "data" program header */
phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i);
phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i);
iload32(char *rtld, Elf32_Phdr *thdr, Elf32_Phdr *dhdr, auxv32_t **avp)
const Elf32_Phdr *ep;
Elf32_Phdr p[2]; /* program header */
Elf32_Phdr *phdr;
phdr = (Elf32_Phdr *)(allphdrs + eh->e_phentsize * i);
ehdr.e_phentsize = sizeof (Elf32_Phdr);
Elf32_Phdr x;
if (phentsize < sizeof (Elf32_Phdr)) {
typedef Elf32_Phdr Phdr;
Elf32_Phdr *phdr;
phdr = (Elf32_Phdr *)(phdrbase + ehdr->e_phentsize * i);