From 4dc85508405cd9903f3f2be2e5487ff4db180bf1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 14 Jul 1997 03:45:16 +0000 Subject: [PATCH] * config/tc-mips.c (check_absolute_expr): Change warning to error. PR 12849. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2060e9c9ed7..a55b34fd581 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 13 20:43:46 1997 Ian Lance Taylor + + * config/tc-mips.c (check_absolute_expr): Change warning to + error. + 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 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 5a71412c14d..8b4c6b982ad 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -2760,7 +2760,7 @@ check_absolute_expr (ip, ex) if (ex->X_op == O_big) as_bad ("unsupported large 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 -- 2.30.2