diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-09 19:07:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-08-09 19:07:54 +0000 |
commit | 0e85575fa649d82cdf5bcfadd27f7c130fdfb6b8 (patch) | |
tree | cb25907b7fb59b298a1688b7c41b9116bbfe89dc /gnu/usr.bin/gas/config | |
parent | d014ed208f8c3a544261ed9896f5c4a80f00cf94 (diff) |
Incorrect assembly statements are fatal errors, not warnings. Doh. How
someone could have written such logic is beyond me.
Diffstat (limited to 'gnu/usr.bin/gas/config')
-rw-r--r-- | gnu/usr.bin/gas/config/tc-vax.c | 6 |
1 files changed, 3 insertions, 3 deletions
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. */ |