aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-12 05:09:50 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-12 05:09:50 +0000
commitd33e1d248c36e7214f5fdae34722df4d29bba8e9 (patch)
treeeca90c9f25bff091ffeabc851831372b0a816728 /gas
parentc0c949c786c41d6ea03f0c37e0398580044f5c40 (diff)
downloadfsf-binutils-gdb-d33e1d248c36e7214f5fdae34722df4d29bba8e9.zip
fsf-binutils-gdb-d33e1d248c36e7214f5fdae34722df4d29bba8e9.tar.gz
fsf-binutils-gdb-d33e1d248c36e7214f5fdae34722df4d29bba8e9.tar.bz2
1999-09-11 Donn Terry <donn@interix.com>
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust BFD_RELOC_RVA relocations.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-i386.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 565944d..da3efb4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -10,6 +10,9 @@
1999-09-11 Donn Terry <donn@interix.com>
+ * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
+ BFD_RELOC_RVA relocations.
+
* config/tc-i386.c (md_undefined_symbol): Compare the name against
the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
starts with "_G".
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 8e3cae7..c2d894b 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -953,6 +953,7 @@ tc_i386_fix_adjustable (fixP)
if (fixP->fx_r_type == BFD_RELOC_386_GOTOFF
|| fixP->fx_r_type == BFD_RELOC_386_PLT32
|| fixP->fx_r_type == BFD_RELOC_386_GOT32
+ || fixP->fx_r_type == BFD_RELOC_RVA
|| fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
|| fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
return 0;