* config/tc-mips.c (check_absolute_expr): Change warning to

error.
PR 12849.
This commit is contained in:
Ian Lance Taylor 1997-07-14 03:45:16 +00:00
parent ccc034af67
commit 4dc8550840
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun Jul 13 20:43:46 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (check_absolute_expr): Change warning to
error.
Fri Jul 11 10:18:47 1997 Jeffrey A Law (law@cygnus.com) Fri Jul 11 10:18:47 1997 Jeffrey A Law (law@cygnus.com)
* config/tc-mips.c (macro_build): Refine code to check if an * config/tc-mips.c (macro_build): Refine code to check if an

View File

@ -2760,7 +2760,7 @@ check_absolute_expr (ip, ex)
if (ex->X_op == O_big) if (ex->X_op == O_big)
as_bad ("unsupported large constant"); as_bad ("unsupported large constant");
else if (ex->X_op != O_constant) else if (ex->X_op != O_constant)
as_warn ("Instruction %s requires absolute expression", ip->insn_mo->name); as_bad ("Instruction %s requires absolute expression", ip->insn_mo->name);
} }
/* Count the leading zeroes by performing a binary chop. This is a /* Count the leading zeroes by performing a binary chop. This is a