aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/riscv/reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/riscv/reloc.c')
-rw-r--r--libexec/rtld-elf/riscv/reloc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libexec/rtld-elf/riscv/reloc.c b/libexec/rtld-elf/riscv/reloc.c
index 390e8c458c28..25c0befb774e 100644
--- a/libexec/rtld-elf/riscv/reloc.c
+++ b/libexec/rtld-elf/riscv/reloc.c
@@ -40,13 +40,6 @@
#include "rtld.h"
#include "rtld_printf.h"
-/*
- * It is possible for the compiler to emit relocations for unaligned data.
- * We handle this situation with these inlines.
- */
-#define RELOC_ALIGNED_P(x) \
- (((uintptr_t)(x) & (sizeof(void *) - 1)) == 0)
-
uint64_t
set_gp(Obj_Entry *obj)
{