From: Maciej W. Rozycki Date: Thu, 9 Dec 2010 22:52:54 +0000 (+0000) Subject: * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI X-Git-Tag: cgen-snapshot-20110101~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88320db2f7f0489188d08c74d81a2b3459bbe1eb;p=thirdparty%2Fbinutils-gdb.git * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI argument complained about; reword the message. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a3f72b78586..64cdfe1f499 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-12-09 Maciej W. Rozycki + + * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI + argument complained about; reword the message. + 2010-12-09 Maciej W. Rozycki * config/tc-mips.c (macro) diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 3be00bcd610..780d879762f 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -9999,7 +9999,8 @@ mips_ip (char *str, struct mips_cl_insn *ip) && imm_expr.X_op == O_constant && (imm_expr.X_add_number < 0 || imm_expr.X_add_number >= 0x10000)) - as_bad (_("lui expression not in range 0..65535")); + as_bad (_("lui expression (%lu) not in range 0..65535"), + (unsigned long) imm_expr.X_add_number); s = expr_end; continue;