[PATCH 1/2] gas/arc: Support NPS400 in .cpu directive

Andrew Burgess andrew.burgess@embecosm.com
Sat Apr 16 16:02:00 GMT 2016


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/config/tc-arc.c b/gas/config/tc-arc.c
index 17e0b9a..169b05c 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.6.4



More information about the Binutils mailing list