This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 1/2] gas/arc: Support NPS400 in .cpu directive
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: binutils at sourceware dot org
- Cc: Claudiu dot Zissulescu at synopsys dot com, Cupertino dot Miranda at synopsys dot com, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Sat, 16 Apr 2016 17:01:54 +0100
- Subject: [PATCH 1/2] gas/arc: Support NPS400 in .cpu directive
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1460822027 dot git dot andrew dot burgess at embecosm dot com>
- References: <cover dot 1460822027 dot git dot andrew dot burgess at embecosm dot com>
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