From 0e85575fa649d82cdf5bcfadd27f7c130fdfb6b8 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 9 Aug 2002 19:07:54 +0000 Subject: Incorrect assembly statements are fatal errors, not warnings. Doh. How someone could have written such logic is beyond me. --- gnu/usr.bin/gas/config/tc-vax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin/gas/config') diff --git a/gnu/usr.bin/gas/config/tc-vax.c b/gnu/usr.bin/gas/config/tc-vax.c index 73a674daca4..fd2008e9b8c 100644 --- a/gnu/usr.bin/gas/config/tc-vax.c +++ b/gnu/usr.bin/gas/config/tc-vax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tc-vax.c,v 1.2 1998/02/15 18:49:47 niklas Exp $ */ +/* $OpenBSD: tc-vax.c,v 1.3 2002/08/09 19:07:53 miod Exp $ */ /* tc-vax.c - vax-specific - Copyright (C) 1987, 1991, 1992 Free Software Foundation, Inc. @@ -388,7 +388,7 @@ char *instruction_string; /* A string: assemble 1 instruction. */ * errors. That is, without changing label values in different passes. */ if (goofed = (*v.vit_error)) { - as_warn ("Ignoring statement due to \"%s\"", v.vit_error); + as_fatal ("%s", v.vit_error); } /* * We need to use expression() and friends, which require us to diddle @@ -404,7 +404,7 @@ char *instruction_string; /* A string: assemble 1 instruction. */ operandP++, expP++, floatP++) { /* for each operand */ if (*(operandP->vop_error)) { - as_warn ("Ignoring statement because \"%s\"", (operandP->vop_error)); + as_fatal ("%s", (operandP->vop_error)); goofed = 1; } else { /* statement has no syntax goofs: lets sniff the expression */ int can_be_short = 0; /* 1 if a bignum can be reduced to a short literal. */ -- cgit v1.2.3