Improve unsupported error message

* config/tc-i386.c (match_template): Improve unsupported error
	message.
This commit is contained in:
H.J. Lu
2012-05-04 17:55:38 +00:00
parent 52b3699b0b
commit 10efe3f6ab
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Improve unsupported error
message.
2012-05-03 Sean Keys <skeys@ipdatasys.com> 2012-05-03 Sean Keys <skeys@ipdatasys.com>
* configure, Makefile.in: Regenerate. * configure, Makefile.in: Regenerate.

View File

@ -4353,8 +4353,9 @@ check_reverse:
err_msg = _("unsupported syntax"); err_msg = _("unsupported syntax");
break; break;
case unsupported: case unsupported:
err_msg = _("unsupported"); as_bad (_("unsupported `%s'"),
break; current_templates->start->name);
return NULL;
case invalid_vsib_address: case invalid_vsib_address:
err_msg = _("invalid VSIB address"); err_msg = _("invalid VSIB address");
break; break;