Home | History | Annotate | Download | only in tests

Lines Matching defs:phdr

48   Elf32_Phdr *phdr;
107 phdr = elf32_newphdr (elf, 1);
108 if (phdr == NULL)
114 phdr[0].p_type = PT_PHDR;
166 phdr[0].p_offset = ehdr->e_phoff;
167 phdr[0].p_offset = ehdr->e_phoff;
168 phdr[0].p_vaddr = ehdr->e_phoff;
169 phdr[0].p_paddr = ehdr->e_phoff;
170 phdr[0].p_flags = PF_R | PF_X;
171 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
172 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
173 phdr[0].p_align = sizeof (Elf32_Word);