From ba96a88f080f2b56a2cbe113ac9e287bfd21ef97 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 29 May 1999 11:05:22 +0000 Subject: Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec. --- bfd/elfarm-nabi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bfd/elfarm-nabi.c') diff --git a/bfd/elfarm-nabi.c b/bfd/elfarm-nabi.c index 5952e74..87cfada 100644 --- a/bfd/elfarm-nabi.c +++ b/bfd/elfarm-nabi.c @@ -35,8 +35,10 @@ #define TARGET_BIG_NAME "elf32-bigarm" #define elf_info_to_howto 0 -#define elf_info_to_howto_rel elf32_arm_info_to_howto_rel +#define elf_info_to_howto_rel elf32_arm_info_to_howto +#define ARM_ELF_ABI_VERSION 0 +#define ARM_ELF_OS_ABI_VERSION ELFOSABI_ARM static reloc_howto_type * elf32_arm_reloc_type_lookup PARAMS ((bfd * abfd, bfd_reloc_code_real_type code)); @@ -574,7 +576,7 @@ static reloc_howto_type elf32_arm_thm_pc9_howto = static void -elf32_arm_info_to_howto_rel (abfd, bfd_reloc, elf_reloc) +elf32_arm_info_to_howto (abfd, bfd_reloc, elf_reloc) bfd * abfd; arelent * bfd_reloc; Elf32_Internal_Rel * elf_reloc; -- cgit v1.1