From: Tom Rix Date: Tue, 12 Feb 2002 05:32:59 +0000 (+0000) Subject: Fix minimal toc and 64 bit. X-Git-Tag: binutils-2_12~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dbac413794371022e17c277cdd521652f9ef407f;p=thirdparty%2Fbinutils-gdb.git Fix minimal toc and 64 bit. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 694f25b3acb..bea17366f90 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-02-11 Tom Rix + + * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for + xcoff64. + 2002-02-11 Alexandre Oliva * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 8bf09db71ad..5a3f68bdcd6 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