Searched refs:dstobj (Results 1 – 1 of 1) sorted by relevance
62 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument68 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations()70 if (dstobj->relro_protected) in do_copy_relocations()71 mprotect(dstobj->relro_page, dstobj->relro_size, PROT_READ | PROT_WRITE); in do_copy_relocations()73 relalim = (const Elf_Rela *) ((caddr_t) dstobj->rela + dstobj->relasize); in do_copy_relocations()74 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()86 dstaddr = (void *) (dstobj->relocbase + rela->r_offset); in do_copy_relocations()87 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()88 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()91 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()[all …]