summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/relocate-rela.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c
index fcf3fb201f0..5f31d8a746d 100644
--- a/tools/relocate-rela.c
+++ b/tools/relocate-rela.c
@@ -43,10 +43,8 @@ static bool supported_rela(Elf64_Rela *rela)
uint32_t type = rela->r_info & mask;
switch (type) {
-#ifdef R_AARCH64_RELATIVE
case R_AARCH64_RELATIVE:
return true;
-#endif
default:
fprintf(stderr, "warning: unsupported relocation type %"
PRIu32 " at %" PRIx64 "\n",