Lines Matching refs:rel
32 const Elf_Rel *rel; in do_copy_relocations() local
36 rellim = (const Elf_Rel *)((const char *) dstobj->rel + dstobj->relsize); in do_copy_relocations()
37 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations()
38 if (ELF_R_TYPE(rel->r_info) == R_ARM_COPY) { in do_copy_relocations()
49 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations()
50 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations()
56 ELF_R_SYM(rel->r_info)); in do_copy_relocations()
89 const Elf_Rel *rel = NULL, *rellim; in _rtld_relocate_nonplt_self() local
96 rel = (const Elf_Rel *)(relocbase + dynp->d_un.d_ptr); in _rtld_relocate_nonplt_self()
103 rellim = (const Elf_Rel *)((const char *)rel + relsz); in _rtld_relocate_nonplt_self()
104 for (; rel < rellim; rel++) { in _rtld_relocate_nonplt_self()
105 where = (Elf_Addr *)(relocbase + rel->r_offset); in _rtld_relocate_nonplt_self()
135 reloc_nonplt_object(Obj_Entry *obj, const Elf_Rel *rel, SymCache *cache, in reloc_nonplt_object() argument
144 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_nonplt_object()
145 symnum = ELF_R_SYM(rel->r_info); in reloc_nonplt_object()
147 switch (ELF_R_TYPE(rel->r_info)) { in reloc_nonplt_object()
298 symnum, (u_long)ELF_R_TYPE(rel->r_info), in reloc_nonplt_object()
299 (void *)rel->r_offset, (void *)load_ptr(where), in reloc_nonplt_object()
303 obj->path, (u_long) ELF_R_TYPE(rel->r_info)); in reloc_nonplt_object()
317 const Elf_Rel *rel; in reloc_non_plt() local
335 rellim = (const Elf_Rel *)((const char *)obj->rel + obj->relsize); in reloc_non_plt()
336 for (rel = obj->rel; rel < rellim; rel++) { in reloc_non_plt()
337 if (reloc_nonplt_object(obj, rel, cache, flags, lockstate) < 0) in reloc_non_plt()
354 const Elf_Rel *rel; in reloc_plt() local
358 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_plt()
361 assert(ELF_R_TYPE(rel->r_info) == R_ARM_JUMP_SLOT); in reloc_plt()
363 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_plt()
378 const Elf_Rel *rel; in reloc_jmpslots() local
384 for (rel = obj->pltrel; rel < rellim; rel++) { in reloc_jmpslots()
385 assert(ELF_R_TYPE(rel->r_info) == R_ARM_JUMP_SLOT); in reloc_jmpslots()
386 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_jmpslots()
387 def = find_symdef(ELF_R_SYM(rel->r_info), obj, &defobj, in reloc_jmpslots()
396 (const Elf_Rel *) rel); in reloc_jmpslots()
434 const Elf_Rel *rel) in reloc_jmpslot() argument
437 assert(ELF_R_TYPE(rel->r_info) == R_ARM_JUMP_SLOT); in reloc_jmpslot()