2009-03-25 H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (parse_insn): Use default_arch on unsupported
	arch.
This commit is contained in:
H.J. Lu 2009-03-25 19:49:25 +00:00
parent a8df5de46d
commit 41aacd835d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (parse_insn): Use default_arch on unsupported
arch.
2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
PR gas/9966

View File

@ -3145,7 +3145,8 @@ check_suffix:
if (supported != CPU_FLAGS_PERFECT_MATCH)
{
as_bad (_("`%s' is not supported on `%s%s'"),
current_templates->start->name, cpu_arch_name,
current_templates->start->name,
cpu_arch_name ? cpu_arch_name : default_arch,
cpu_sub_arch_name ? cpu_sub_arch_name : "");
return NULL;
}