aboutsummaryrefslogtreecommitdiff
path: root/stand/common
diff options
context:
space:
mode:
Diffstat (limited to 'stand/common')
-rw-r--r--stand/common/reloc_elf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stand/common/reloc_elf.c b/stand/common/reloc_elf.c
index f8417aeeb64a..56b661dc21bd 100644
--- a/stand/common/reloc_elf.c
+++ b/stand/common/reloc_elf.c
@@ -175,8 +175,7 @@ __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata,
}
return (0);
-#elif defined(__aarch64__) || defined(__arm__) || defined(__powerpc__) || \
- defined(__riscv)
+#elif defined(__aarch64__) || defined(__powerpc__) || defined(__riscv)
Elf_Size w;
const Elf_Rela *rela;
@@ -188,8 +187,6 @@ __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata,
switch (ELF_R_TYPE(rela->r_info)) {
#if defined(__aarch64__)
case R_AARCH64_RELATIVE:
-#elif defined(__arm__)
- case R_ARM_RELATIVE:
#elif defined(__powerpc__)
case R_PPC_RELATIVE:
#elif defined(__riscv)