Replace oprand_size_mismatch with operand_size_mismatch.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 03:29:47 +0000 (03:29 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 22 Mar 2010 03:29:47 +0000 (03:29 +0000)
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.

gas/ChangeLog
gas/config/tc-i386.c

index dcc44a5..d6bffc1 100644 (file)
@@ -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.
index 6def769..c4603a7 100644 (file)
@@ -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: