Lines Matching refs:phdr
41 Elf32_Phdr *phdr; in main() local
104 phdr = elf32_newphdr (elf, 1); in main()
105 if (phdr == NULL) in main()
111 phdr[0].p_type = PT_PHDR; in main()
311 phdr[0].p_offset = ehdr->e_phoff; in main()
312 phdr[0].p_offset = ehdr->e_phoff; in main()
313 phdr[0].p_vaddr = ehdr->e_phoff; in main()
314 phdr[0].p_paddr = ehdr->e_phoff; in main()
315 phdr[0].p_flags = PF_R | PF_X; in main()
316 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
317 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
318 phdr[0].p_align = sizeof (Elf32_Word); in main()