* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.

From-SVN: r68112
This commit is contained in:
Rainer Orth 2003-06-17 20:50:41 +00:00 committed by Rainer Orth
parent 1f11df32c1
commit 94b2a23bc8
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
* config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
(MIPS_CPU_STRING_DEFAULT): Redefine to mips2.

View File

@ -640,7 +640,8 @@
{
if (ISA_HAS_COND_TRAP)
return \"teq\\t$0,$0\";
else if (TARGET_MIPS16)
/* The IRIX 6 O32 assembler requires the first break operand. */
else if (TARGET_MIPS16 || ! TARGET_GAS)
return \"break 0\";
else
return \"break\";