summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2003-04-02 23:31:25 +0000
committerPhil Blundell <philb@gnu.org>2003-04-02 23:31:25 +0000
commitf51d5d82c5bb3a20f8b95e55fe3e67b5a5410806 (patch)
tree1c68b8903fb13e2a9b8fb81ef71a6b90fdcf2da2
parent282e734abbfb1888b19073a5fa0803f3016a1001 (diff)
downloadbinutils-redhat-f51d5d82c5bb3a20f8b95e55fe3e67b5a5410806.tar.gz
2003-04-02 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-arm.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b8df657d1b..09c9ad4ef8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-02 Philip Blundell <philb@gnu.org>
+
+ * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
+
2003-04-02 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (macro2): Adjust implementation of
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 33b0bea035..484acb5b6a 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -12475,6 +12475,7 @@ arm_force_relocation (fixp)
/* Resolve these relocations even if the symbol is extern or weak. */
if (fixp->fx_r_type == BFD_RELOC_ARM_IMMEDIATE
+ || fixp->fx_r_type == BFD_RELOC_ARM_OFFSET_IMM
|| fixp->fx_r_type == BFD_RELOC_ARM_ADRL_IMMEDIATE)
return 0;