From 5e001f26addc4443eb0a7af90ad67117e1a582ac Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Sat, 16 Apr 2016 16:19:40 +0100 Subject: [PATCH] gas/arc: Support NPS400 in .cpu directive gas/ChangeLog: * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive. --- gas/ChangeLog | 4 ++++ gas/config/tc-arc.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index f9b5afeb56c..47651013f81 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-04-16 Andrew Burgess + + * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive. + 2016-04-15 Trevor Saunders * config/tc-mips.c (md_begin): Remove useless assignment. diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 17e0b9aa229..169b05c348f 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -897,6 +897,10 @@ arc_option (int ignore ATTRIBUTE_UNUSED) { md_parse_option (OPTION_MCPU, "archs"); } + else if (!strcmp ("NPS400", cpu)) + { + md_parse_option (OPTION_MCPU, "nps400"); + } else as_fatal (_("could not find the architecture")); -- 2.30.2