diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-16 16:19:40 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-16 16:19:40 +0100 |
commit | 5e001f26addc4443eb0a7af90ad67117e1a582ac (patch) | |
tree | 9e8f2ed683e7314045a2f2c2e0f88275359f99c6 /gas/config/tc-arc.c | |
parent | 92fce9bd7a4d5732fe9db05b7ebaef4ab858e69a (diff) | |
download | gdb-5e001f26addc4443eb0a7af90ad67117e1a582ac.zip gdb-5e001f26addc4443eb0a7af90ad67117e1a582ac.tar.gz gdb-5e001f26addc4443eb0a7af90ad67117e1a582ac.tar.bz2 |
gas/arc: Support NPS400 in .cpu directive
gas/ChangeLog:
* config/tc-arc.c (arc_option): Allow NPS400 in .cpu directive.
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r-- | gas/config/tc-arc.c | 4 |
1 files changed, 4 insertions, 0 deletions
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")); |