diff -Naurp a/bfd/elf.c b/bfd/elf.c
--- a/bfd/elf.c 2020-03-18 00:45:06.450236795 +0000
+++ b/bfd/elf.c 2020-03-18 01:10:58.319409778 +0000
@@ -11110,12 +11110,7 @@ _bfd_elf_slurp_secondary_reloc_section (
bfd_vma (*r_sym) (bfd_vma);
-#ifdef BFD64
- if (bfd_arch_bits_per_address (abfd) != 32)
- r_sym = elf64_r_sym;
- else
-#endif
- r_sym = elf32_r_sym;
+ r_sym = elf32_r_sym;
/* Discover if there are any secondary reloc sections
associated with SEC. */
@@ -11297,12 +11292,7 @@ _bfd_elf_write_secondary_reloc_section (
asection * relsec;
bfd_vma (*r_info) (bfd_vma, bfd_vma);
-#ifdef BFD64
- if (bfd_arch_bits_per_address (abfd) != 32)
- r_info = elf64_r_info;
- else
-#endif
- r_info = elf32_r_info;
+ r_info = elf32_r_info;
if (sec == NULL)
return FALSE;