aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfarm-nabi.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-05-29 11:05:22 +0000
committerNick Clifton <nickc@redhat.com>1999-05-29 11:05:22 +0000
commitba96a88f080f2b56a2cbe113ac9e287bfd21ef97 (patch)
tree7480432b5a432fed735ba4cfad8bc15b5a06d974 /bfd/elfarm-nabi.c
parent7ca69e9e10ef290eb3dd62a1e6bebbe4c87fa202 (diff)
downloadgdb-ba96a88f080f2b56a2cbe113ac9e287bfd21ef97.zip
gdb-ba96a88f080f2b56a2cbe113ac9e287bfd21ef97.tar.gz
gdb-ba96a88f080f2b56a2cbe113ac9e287bfd21ef97.tar.bz2
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.c6
1 files changed, 4 insertions, 2 deletions
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;