Lines Matching refs:phdr2
1114 GElf_Phdr *phdr2 = NULL;
1118 phdr2 = gelf_getphdr (ebl->elf, cnt2, &phdr2_mem);
1120 if (phdr2 != NULL && phdr2->p_type == PT_LOAD
1121 && shdr->sh_addr >= phdr2->p_vaddr
1123 <= phdr2->p_vaddr + phdr2->p_memsz))
1129 if ((phdr2->p_flags & PF_W) == 0 && !in_ro)
1134 else if ((phdr2->p_flags & PF_W) != 0 && in_ro)