gas/arc: Support NPS400 in .cpu directive

gas/ChangeLog:

	* config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
This commit is contained in:
Andrew Burgess 2016-04-16 16:19:40 +01:00
parent 92fce9bd7a
commit 5e001f26ad
2 changed files with 8 additions and 0 deletions

View 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.

View 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"));