Lines Matching refs:rel
42 Rela *rel = vrel; in undo_reloc() local
44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc()
102 Rela *rel = vrel; in clear_reloc() local
104 rel->r_offset = 0; in clear_reloc()
105 rel->r_info = ELF_R_INFO(0, R_SPARC_NONE); in clear_reloc()
106 rel->r_addend = 0; in clear_reloc()
117 Rela *rel = vrel; in apply_reloc() local
118 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc()
119 Xword value = reloc->r_value + rel->r_addend; in apply_reloc()
129 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc()
131 (void) elf_plt_write((uintptr_t)addr, vaddr, rel, in apply_reloc()
139 value += ELF_R_TYPE_DATA(rel->r_info); in apply_reloc()