aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-ppc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index c9f87fc..60ee2f7 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -761,12 +761,15 @@ md_begin ()
|| (((ppc_cpu & PPC_OPCODE_601) == 0
|| strcmp (op->name, "mfdec") != 0)
&& (((ppc_cpu & ~PPC_OPCODE_POWER2)
- == (PPC_OPCODE_POWER | PPC_OPCODE_PPC))
+ != (PPC_OPCODE_POWER | PPC_OPCODE_PPC))
|| (strcmp (op->name, "cmpli") != 0
&& strcmp (op->name, "cmpi") != 0
&& strcmp (op->name, "cmp") != 0
&& strcmp (op->name, "cmpl") != 0))))
- as_fatal ("Internal assembler error for instruction %s", op->name);
+ {
+ as_bad ("Internal assembler error for instruction %s", op->name);
+ abort ();
+ }
}
}
}