This is the mail archive of the binutils@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]

[PATCH 1/2] 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/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


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