Set error instead of err_msg on failure.
commitf6ec67dba2b85425fc9f262ce4f622af786df755
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 02:20:58 +0000 (22 02:20 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 02:20:58 +0000 (22 02:20 +0000)
tree8a5aacf355930089eae958c67f35372d3dd4a303
parentaf49972ea4454adba71958d33188ead47b9a8b69
Set error instead of err_msg on failure.

2010-03-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_error): New.
(_i386_insn): Replace err_msg with error.
(operand_size_match): Set error instead of err_msg on failure.
(operand_type_match): Likewise.
(operand_type_register_match): Likewise.
(VEX_check_operands): Likewise.
(match_template): Likewise.  Use error instead of err_msg with
as_bad.
gas/ChangeLog
gas/config/tc-i386.c