aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.c
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
commit472816383ccbb053d85fcfc816420749a113ba83 (patch)
treef45b12e562a77f24c5c5606e482d26c9ffe2b9c7 /gas/config/tc-arm.c
parent1abaf70c9430cffb9779153a4518e1c5093d742a (diff)
downloadgdb-472816383ccbb053d85fcfc816420749a113ba83.zip
gdb-472816383ccbb053d85fcfc816420749a113ba83.tar.gz
gdb-472816383ccbb053d85fcfc816420749a113ba83.tar.bz2
2003-04-02 Philip Blundell <philb@gnu.org>
* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r--gas/config/tc-arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 33b0bea..484acb5 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;