Lines Matching refs:ophdr
149 Phdr *iphdr, *ophdr, *data_phdr = 0;
277 for (num = 0, ophdr = iphdr; num != iehdr->e_phnum; num++, ophdr++) {
286 if (ophdr->p_type == PT_LOAD) {
287 if (ophdr->p_filesz != ophdr->p_memsz)
288 data_phdr = ophdr;
290 if (data_phdr->p_vaddr < ophdr->p_vaddr)
291 data_phdr = ophdr;
293 data_phdr = ophdr;
551 if ((ophdr = elf_newphdr(oelf, iehdr->e_phnum)) == NULL) {
556 for (num = 0; num != iehdr->e_phnum; num++, iphdr++, ophdr++) {
557 *ophdr = *iphdr;
558 if ((ophdr->p_type != PT_INTERP) && (ophdr->p_type != PT_NOTE))
559 ophdr->p_vaddr += addr;
562 ophdr->p_memsz = edata - ophdr->p_vaddr;
563 ophdr->p_filesz = ophdr->p_memsz;