Lines Matching refs:rel
42 Rela *rel = vrel; in undo_reloc() local
43 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc()
112 Rela *rel = vrel; in clear_reloc() local
114 rel->r_offset = 0; in clear_reloc()
115 rel->r_info = ELF_R_INFO(0, R_AMD64_NONE); in clear_reloc()
116 rel->r_addend = 0; in clear_reloc()
127 Rela *rel = vrel; in apply_reloc() local
128 Xword type = ELF_R_TYPE(rel->r_info, M_MACH); in apply_reloc()
129 Xword value = reloc->r_value + rel->r_addend; in apply_reloc()
139 addr = (uintptr_t)oaddr - rel->r_offset; in apply_reloc()
141 (void) elf_plt_write((uintptr_t)addr, vaddr, rel, in apply_reloc()