aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-10-23 10:34:18 +0000
committerNick Clifton <nickc@redhat.com>2002-10-23 10:34:18 +0000
commit8df7094c00913c6823914e988a4aafaa57a8b6d9 (patch)
treeccec5d7aee47bc048c7fddf7c9f3ef580725df8d /gas/config
parent1cd2bb725b5146c5d4ae1f0faf02f0155ed54dfb (diff)
downloadgdb-8df7094c00913c6823914e988a4aafaa57a8b6d9.zip
gdb-8df7094c00913c6823914e988a4aafaa57a8b6d9.tar.gz
gdb-8df7094c00913c6823914e988a4aafaa57a8b6d9.tar.bz2
Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
a GOT reloc.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 17425e5..1205866 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -10339,7 +10339,7 @@ tc_gen_reloc (section, fixp)
}
#ifdef OBJ_ELF
- if (code == BFD_RELOC_32_PCREL
+ if ((code == BFD_RELOC_32_PCREL || code == BFD_RELOC_32)
&& GOT_symbol
&& fixp->fx_addsy == GOT_symbol)
{