Allow PROCESSOR_IAMCU for Intel MCU
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 8 Sep 2016 14:54:16 +0000 (07:54 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 8 Sep 2016 14:54:16 +0000 (07:54 -0700)
* config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU
for Intel MCU.

gas/ChangeLog
gas/config/tc-i386.c

index 6fbb69372cfb8aef4fc82468ef01cf08b2eb60a4..384b40fae0e8c7b4520f744c495795f15fc62b5d 100644 (file)
@@ -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.
index 9da7a4ea54c988160dd1547183fc62ae0f7c58dc..660d23e68f28b17e55cc12cd5756ca4544cc35bc 100644 (file)
@@ -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);
     }