aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-03-25 19:49:25 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-03-25 19:49:25 +0000
commit41aacd835d8579739337737ae49209f688a86c8d (patch)
tree4f62a8ab4d4c18de0befda99eaa1b1cdfca82529 /gas
parenta8df5de46d31194dfe6d67299ecaae8b33943b10 (diff)
downloadgdb-41aacd835d8579739337737ae49209f688a86c8d.zip
gdb-41aacd835d8579739337737ae49209f688a86c8d.tar.gz
gdb-41aacd835d8579739337737ae49209f688a86c8d.tar.bz2
2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (parse_insn): Use default_arch on unsupported arch.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index eb9b742..1379400 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 1f8cc10..91836ea 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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;
}