diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2021-01-17 16:41:25 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2021-01-17 16:41:25 +0000 |
commit | 0f2434ea000e02e6b1f7f40f489c346c64445242 (patch) | |
tree | 55fe0227204932d85ed41e4fa5c629d4ac86aeab /stand/common | |
parent | 5c6c1b5421d777a614fc3ff63adafd10c8b66caa (diff) | |
download | src-0f2434ea000e02e6b1f7f40f489c346c64445242.tar.gz src-0f2434ea000e02e6b1f7f40f489c346c64445242.zip |
Diffstat (limited to 'stand/common')
-rw-r--r-- | stand/common/reloc_elf.c | 5 |
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) |