From 88320db2f7f0489188d08c74d81a2b3459bbe1eb Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 9 Dec 2010 22:52:54 +0000 Subject: [PATCH] * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI argument complained about; reword the message. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.30.2