Fix minimal-toc with -maix64

This commit is contained in:
Tom Rix 2002-02-12 03:59:33 +00:00
parent aeb98c6089
commit 9b90b531ee
2 changed files with 6 additions and 1 deletions

View 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> Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.

View File

@ -5165,7 +5165,7 @@ md_apply_fix3 (fixP, valP, seg)
if ((operand->flags & PPC_OPERAND_PARENS) != 0 if ((operand->flags & PPC_OPERAND_PARENS) != 0
&& operand->bits == 16 && operand->bits == 16
&& operand->shift == 0 && operand->shift == 0
&& operand->insert == NULL && (operand->insert == NULL || ppc_xcoff64)
&& fixP->fx_addsy != NULL && fixP->fx_addsy != NULL
&& symbol_get_tc (fixP->fx_addsy)->subseg != 0 && symbol_get_tc (fixP->fx_addsy)->subseg != 0
&& symbol_get_tc (fixP->fx_addsy)->class != XMC_TC && symbol_get_tc (fixP->fx_addsy)->class != XMC_TC