From 8d471ec1e73eea3ff8ff6954283f8f16e7a7bc84 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 8 Sep 2016 07:54:16 -0700 Subject: [PATCH] Allow PROCESSOR_IAMCU for Intel MCU * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU for Intel MCU. --- 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 6fbb69372cf..384b40fae0e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-09-08 H.J. Lu + + * config/tc-i386.c (i386_target_format): Allow PROCESSOR_IAMCU + for Intel MCU. + 2016-09-07 H.J. Lu * config/tc-i386.c (valid_iamcu_cpu_flags): Removed. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 9da7a4ea54c..660d23e68f2 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); } -- 2.30.2