Lines Matching refs:phdr
40 Elf32_Phdr *phdr; in main() local
92 phdr = elf32_newphdr (elf, 1); in main()
93 if (phdr == NULL) in main()
99 phdr[0].p_type = PT_PHDR; in main()
111 phdr[0].p_offset = ehdr->e_phoff; in main()
112 phdr[0].p_offset = ehdr->e_phoff; in main()
113 phdr[0].p_vaddr = ehdr->e_phoff; in main()
114 phdr[0].p_paddr = ehdr->e_phoff; in main()
115 phdr[0].p_flags = PF_R | PF_X; in main()
116 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
117 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
118 phdr[0].p_align = sizeof (Elf32_Word); in main()