aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-02-12 03:59:33 +0000
committerTom Rix <trix@redhat.com>2002-02-12 03:59:33 +0000
commit9b90b531ee9a5014db5732b7954510a2df39253b (patch)
treedd85f7b8b695b2ce37722f448d3c763eaeaa5fc2 /gas
parentaeb98c608928d002a6b4062ec7704447ccc9769d (diff)
downloadgdb-9b90b531ee9a5014db5732b7954510a2df39253b.zip
gdb-9b90b531ee9a5014db5732b7954510a2df39253b.tar.gz
gdb-9b90b531ee9a5014db5732b7954510a2df39253b.tar.bz2
Fix minimal-toc with -maix64
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ecf1114..b88e492 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-11 Tom Rix <trix@redhat.com>
+
+ * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
+ xcoff64.
+
Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 8bf09db..3d58a92 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -5165,7 +5165,7 @@ md_apply_fix3 (fixP, valP, seg)
if ((operand->flags & PPC_OPERAND_PARENS) != 0
&& operand->bits == 16
&& operand->shift == 0
- && operand->insert == NULL
+ && (operand->insert == NULL || ppc_xcoff64)
&& fixP->fx_addsy != NULL
&& symbol_get_tc (fixP->fx_addsy)->subseg != 0
&& symbol_get_tc (fixP->fx_addsy)->class != XMC_TC