aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 22:52:54 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-09 22:52:54 +0000
commit88320db2f7f0489188d08c74d81a2b3459bbe1eb (patch)
tree5f29ff984634ff0a644dcea0858fa5f346031d20 /gas
parentf01dc9538ad6f4f4cc5b33d37167d46948b70d1a (diff)
downloadgdb-88320db2f7f0489188d08c74d81a2b3459bbe1eb.zip
gdb-88320db2f7f0489188d08c74d81a2b3459bbe1eb.tar.gz
gdb-88320db2f7f0489188d08c74d81a2b3459bbe1eb.tar.bz2
* config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
argument complained about; reword the message.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a3f72b7..64cdfe1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 3be00bc..780d879 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;