Lines Matching refs:newp
270 struct textrels *newp; in _dl_relocate_object() local
272 newp = (struct textrels *) alloca (sizeof (*newp)); in _dl_relocate_object()
273 newp->len = ALIGN_UP (ph->p_vaddr + ph->p_memsz, GLRO(dl_pagesize)) in _dl_relocate_object()
275 newp->start = PTR_ALIGN_DOWN (ph->p_vaddr, GLRO(dl_pagesize)) in _dl_relocate_object()
278 newp->prot = 0; in _dl_relocate_object()
280 newp->prot |= PROT_READ; in _dl_relocate_object()
282 newp->prot |= PROT_WRITE; in _dl_relocate_object()
284 newp->prot |= PROT_EXEC; in _dl_relocate_object()
286 if (__mprotect (newp->start, newp->len, newp->prot|PROT_WRITE) < 0) in _dl_relocate_object()
293 newp->next = textrels; in _dl_relocate_object()
294 textrels = newp; in _dl_relocate_object()