Fix minimal-toc with -maix64
authorTom Rix <trix@redhat.com>
Tue, 12 Feb 2002 03:59:33 +0000 (03:59 +0000)
committerTom Rix <trix@redhat.com>
Tue, 12 Feb 2002 03:59:33 +0000 (03:59 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index ecf1114df321c749b3bbcd1e3526e20c6415ab97..b88e4922931378df67f1a4991dfc3bf6b1f4f21e 100644 (file)
@@ -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.
index 8bf09db71ad6cd832eab898c920a8dc61c74d4a7..3d58a929ad760f98805d0233513bf4007869869a 100644 (file)
@@ -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