diff options
author | Nick Clifton <nickc@redhat.com> | 1999-05-29 11:05:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-05-29 11:05:22 +0000 |
commit | b4749c94642469c5ab6d8f21227ac27dd03af1d2 (patch) | |
tree | cfc95ff30c852c93bb4179fc23b7a6e4a833e0a4 /bfd/elfarm-nabi.c | |
parent | 083e34749756ba92573b9826c43192a5ccede71c (diff) | |
download | gdb-b4749c94642469c5ab6d8f21227ac27dd03af1d2.tar.gz |
Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.
Diffstat (limited to 'bfd/elfarm-nabi.c')
-rw-r--r-- | bfd/elfarm-nabi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/elfarm-nabi.c b/bfd/elfarm-nabi.c index 5952e74e5ef..87cfada1138 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; |