This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Allow PROCESSOR_IAMCU for Intel MCU
- From: H.J.Lu <hjl at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Sep 2016 14:56:47 -0000
- Subject: [binutils-gdb] Allow PROCESSOR_IAMCU for Intel MCU
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84
commit 8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Sep 8 07:54:16 2016 -0700
Allow PROCESSOR_IAMCU for Intel MCU
* config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
for Intel MCU.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-i386.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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);
}