From 0d0ebf775cd8444ba8b2612b9613befb6bf899f1 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 25 Feb 2010 21:47:27 +0000 Subject: [PATCH] Update x86 assembler error messages. 2010-02-25 H.J. Lu * config/tc-i386.c (match_template): Update error messages. --- gas/ChangeLog | 4 ++++ gas/config/tc-i386.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index fe4775fa3..9a5b9e223 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2010-02-25 H.J. Lu + * config/tc-i386.c (match_template): Update error messages. + +2010-02-25 H.J. Lu + * config/tc-i386.c (_i386_insn): Add err_msg. (operand_size_match): Set err_msg on failure. (operand_type_match): Likewise. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7b71bbc81..8ce40a7df 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -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; -- 2.11.4.GIT