2003-04-02 Philip Blundell <philb@gnu.org>
authorPhil Blundell <philb@gnu.org>
Wed, 2 Apr 2003 23:31:25 +0000 (23:31 +0000)
committerPhil Blundell <philb@gnu.org>
Wed, 2 Apr 2003 23:31:25 +0000 (23:31 +0000)
* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.

gas/ChangeLog
gas/config/tc-arm.c

index b8df657d1baa0837e246645b10f3b0bb7f79e8ba..09c9ad4ef8b7e1299e7701f40087d969c560160d 100644 (file)
@@ -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
index 33b0bea0350ccd3ca91b14fd5cf2725a1dba151b..484acb5b6ac6a385cf442d9b99aad27c666779f8 100644 (file)
@@ -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;