gas/arc: Support NPS400 in .cpu directive
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 16 Apr 2016 15:19:40 +0000 (16:19 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 16 Apr 2016 15:19:40 +0000 (16:19 +0100)
gas/ChangeLog:

* config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.

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

index f9b5afeb56c237fb0d4cb9f84f13e175d99e4f55..47651013f81d9b5f86f880ba43463854368d5f92 100644 (file)
@@ -1,3 +1,7 @@
+2016-04-16  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
+
 2016-04-15  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/tc-mips.c (md_begin): Remove useless assignment.
index 17e0b9aa2298aaafff7f7a94bed0af4c178728ae..169b05c348f5f1a00bdc84bdcbaaed5de7c9a1eb 100644 (file)
@@ -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"));