Set error instead of err_msg on failure.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 02:20:58 +0000 (02:20 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 02:20:58 +0000 (02:20 +0000)
commita65babc94936be03969949defd771445d8f77d85
tree0e8f09ec2136704f72497a78a61e755dc584c69d
parent197d2099b83f18fbb010ebadf85a54d0b01a6a62
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