OSDN Git Service

Update x86 assembler error messages.
authorhjl <hjl>
Fri, 26 Feb 2010 06:47:27 +0000 (06:47 +0000)
committerhjl <hjl>
Fri, 26 Feb 2010 06:47:27 +0000 (06:47 +0000)
2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Update error messages.

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

index fe4775f..9a5b9e2 100644 (file)
@@ -1,5 +1,9 @@
 2010-02-25  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * config/tc-i386.c (match_template): Update error messages.
+
+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.
index 7b71bbc..8ce40a7 100644 (file)
@@ -3815,7 +3815,7 @@ match_template (void)
        continue;
 
       /* Check processor support.  */
-      i.err_msg = _("instruction not supported");
+      i.err_msg = _("unsupported");
       found_cpu_match = (cpu_flags_match (t)
                         == CPU_FLAGS_PERFECT_MATCH);
       if (!found_cpu_match)
@@ -3827,7 +3827,7 @@ match_template (void)
        continue;
 
       /* Check AT&T mnemonic.   */
-      i.err_msg = _("not supported with Intel mnemonic");
+      i.err_msg = _("unsupported with Intel mnemonic");
       if (intel_mnemonic && t->opcode_modifier.attmnemonic)
        continue;