Lines Matching defs:phdr
39 Elf32_Phdr *phdr;
91 phdr = elf32_newphdr (elf, 1);
92 if (phdr == NULL)
98 phdr[0].p_type = PT_PHDR;
110 phdr[0].p_offset = ehdr->e_phoff;
111 phdr[0].p_offset = ehdr->e_phoff;
112 phdr[0].p_vaddr = ehdr->e_phoff;
113 phdr[0].p_paddr = ehdr->e_phoff;
114 phdr[0].p_flags = PF_R | PF_X;
115 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
116 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
117 phdr[0].p_align = sizeof (Elf32_Word);