From: H.J. Lu Date: Fri, 4 May 2012 17:55:38 +0000 (+0000) Subject: Improve unsupported error message X-Git-Tag: sid-snapshot-20120601~330 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10efe3f6ab735cdc228d615d25e89fff0623c5cc;p=thirdparty%2Fbinutils-gdb.git Improve unsupported error message * config/tc-i386.c (match_template): Improve unsupported error message. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e04a49f7ce8..8196733b2b0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-05-04 H.J. Lu + + * config/tc-i386.c (match_template): Improve unsupported error + message. + 2012-05-03 Sean Keys * configure, Makefile.in: Regenerate. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index ae0b436b7b9..3e47349d800 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4353,8 +4353,9 @@ check_reverse: err_msg = _("unsupported syntax"); break; case unsupported: - err_msg = _("unsupported"); - break; + as_bad (_("unsupported `%s'"), + current_templates->start->name); + return NULL; case invalid_vsib_address: err_msg = _("invalid VSIB address"); break;