Improve x86 assembler error message.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Feb 2010 17:59:52 +0000 (17:59 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Feb 2010 17:59:52 +0000 (17:59 +0000)
commit891edac42bbcac3e084c0cbfe846c73ddfc4d7c6
treea93681a8c32e3af71028a5ef946a8724ba3dfb2a
parenteb73e134997d622048918a758b3644b618585411
Improve x86 assembler error message.

2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (_i386_insn): Add err_msg.
(operand_size_match): Set err_msg on failure.
(operand_type_match): Likewise.
(operand_type_register_match): Likewise.
(VEX_check_operands): Likewise.
(match_template): Likewise.  Use i.err_msg with as_bad.
gas/ChangeLog
gas/config/tc-i386.c