* config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 9 Dec 2010 22:52:54 +0000 (22:52 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Thu, 9 Dec 2010 22:52:54 +0000 (22:52 +0000)
argument complained about; reword the message.

gas/ChangeLog
gas/config/tc-mips.c

index a3f72b7..64cdfe1 100644 (file)
@@ -1,5 +1,10 @@
 2010-12-09  Maciej W. Rozycki  <macro@codesourcery.com>
 
+       * 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  <macro@codesourcery.com>
+
        * config/tc-mips.c (macro)
        <M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
        used to compare against for the always-false/true case.
index 3be00bc..780d879 100644 (file)
@@ -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;