aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-09-08 07:54:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-09-08 07:54:16 -0700
commit8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84 (patch)
tree65279c2a70100251fc61856508c057a69283d25d /gas
parenta46c43f40a5faf27fc01062bad8d34c7751f18e4 (diff)
downloadgdb-8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84.zip
gdb-8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84.tar.gz
gdb-8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84.tar.bz2
Allow PROCESSOR_IAMCU for Intel MCU
* config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU for Intel MCU.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6fbb693..384b40f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
+ for Intel MCU.
+
2016-09-07 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 9da7a4e..660d23e 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -10460,7 +10460,7 @@ i386_target_format (void)
cpu_arch_tune_flags = cpu_arch_isa_flags;
}
}
- else
+ else if (cpu_arch_isa != PROCESSOR_IAMCU)
as_fatal (_("Intel MCU doesn't support `%s' architecture"),
cpu_arch_name);
}