This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gas/arc: Support NPS400 in .cpu directive


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5e001f26addc4443eb0a7af90ad67117e1a582ac

commit 5e001f26addc4443eb0a7af90ad67117e1a582ac
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date:   Sat Apr 16 16:19:40 2016 +0100

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

Diff:
---
 gas/ChangeLog       | 4 ++++
 gas/config/tc-arc.c | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index f9b5afe..4765101 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
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"));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]