aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-03-22 03:29:47 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-03-22 03:29:47 +0000
commit86e026a4490f14189a46c5813bace9cbe135be44 (patch)
treebc840d0d8325d8faffe1810f23ac213fac8945a4 /gas
parenta65babc94936be03969949defd771445d8f77d85 (diff)
downloadgdb-86e026a4490f14189a46c5813bace9cbe135be44.zip
gdb-86e026a4490f14189a46c5813bace9cbe135be44.tar.gz
gdb-86e026a4490f14189a46c5813bace9cbe135be44.tar.bz2
Replace oprand_size_mismatch with operand_size_mismatch.
2010-03-21 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (i386_error): Replace oprand_size_mismatch with operand_size_mismatch. (operand_size_match): Updated. (match_template): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-i386.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index dcc44a5..d6bffc1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
+ with operand_size_mismatch.
+ (operand_size_match): Updated.
+ (match_template): Likewise.
+
+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.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 6def769..c4603a7 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -206,7 +206,7 @@ union i386_op
enum i386_error
{
- oprand_size_mismatch,
+ operand_size_mismatch,
operand_type_mismatch,
register_type_mismatch,
number_of_operands_mismatch,
@@ -1579,7 +1579,7 @@ operand_size_match (const insn_template *t)
else if (!t->opcode_modifier.d && !t->opcode_modifier.floatd)
{
mismatch:
- i.error = oprand_size_mismatch;
+ i.error = operand_size_mismatch;
return 0;
}
@@ -4109,7 +4109,7 @@ check_reverse:
{
default:
abort ();
- case oprand_size_mismatch:
+ case operand_size_mismatch:
err_msg = _("operand size mismatch");
break;
case operand_type_mismatch: