aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-08-19 19:09:01 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-08-19 19:09:01 +0000
commite3de51ce1105cd1d8bfbbe6e298233098822996a (patch)
tree81ff097b0d9d9af8440c9c15a9dc9dbecacee5d1 /gas/testsuite
parent97d874919c0c24e505691a49858335632bc9272e (diff)
downloadgdb-e3de51ce1105cd1d8bfbbe6e298233098822996a.zip
gdb-e3de51ce1105cd1d8bfbbe6e298233098822996a.tar.gz
gdb-e3de51ce1105cd1d8bfbbe6e298233098822996a.tar.bz2
gas/
* config/tc-mips.c (mips_insn_error_format): New enum. (mips_insn_error): New struct. (insn_error): Change to a mips_insn_error. (clear_insn_error, set_insn_error_format, set_insn_error) (set_insn_error_i, set_insn_error_ss, report_insn_error): New functions. (mips_parse_argument_token, md_assemble, match_insn) (match_mips16_insn): Use them instead of manipulating insn_error directly. (mips_ip, mips16_ip): Likewise. Simplify control flow. gas/testsuite/ * gas/mips/micromips-ill.l: Expect "floating-point expression required"
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/micromips-ill.l4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4c17de5..b8d15d0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-19 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * gas/mips/micromips-ill.l: Expect "floating-point expression required"
+
2013-08-06 Jürgen Urban <JuergenUrban@gmx.de>
* gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l,
diff --git a/gas/testsuite/gas/mips/micromips-ill.l b/gas/testsuite/gas/mips/micromips-ill.l
index 8471f1f..9e78175 100644
--- a/gas/testsuite/gas/mips/micromips-ill.l
+++ b/gas/testsuite/gas/mips/micromips-ill.l
@@ -3,7 +3,7 @@
.*:3: Error: Illegal operands `lwm \$17-\$16,0\(\$4\)'
.*:4: Error: Illegal operands `lwm \$16-\$f17,0\(\$4\)'
.*:5: Error: Illegal operands `lwm \$f16-\$17,0\(\$4\)'
-.*:6: Error: Illegal operands `li\.s \$4,foo'
+.*:6: Error: floating-point expression required `li\.s \$4,foo'
.*:7: Error: cannot create floating-point number
-.*:8: Error: Illegal operands `li\.s \$4,\$4'
+.*:8: Error: floating-point expression required `li\.s \$4,\$4'
.*:9: Error: Illegal operands `li\.s 1.0'