Revert "gas/arc: Make .cpu directive case-insensitive"
This reverts commit 9a452709fe
.
This change was committed as obvious, but it has been rightly been
pointed out to me that this change is not obvious, and as such I am
reverting it.
gas/ChangeLog:
Revert prevous change.
* config/tc-arc.c (arc_option): Make .cpu directive
case-sensitive again.
This commit is contained in:
parent
35cf27b027
commit
644aca26b5
2 changed files with 14 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
2016-04-17 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
Revert prevous change.
|
||||
* config/tc-arc.c (arc_option): Make .cpu directive
|
||||
case-sensitive again.
|
||||
|
||||
2016-04-16 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* config/tc-arc.c (arc_option): Make .cpu directive
|
||||
|
|
|
@ -878,26 +878,26 @@ arc_option (int ignore ATTRIBUTE_UNUSED)
|
|||
|
||||
if (!mach_type_specified_p)
|
||||
{
|
||||
if ((!strcasecmp ("ARC600", cpu))
|
||||
|| (!strcasecmp ("ARC601", cpu))
|
||||
|| (!strcasecmp ("A6", cpu)))
|
||||
if ((!strcmp ("ARC600", cpu))
|
||||
|| (!strcmp ("ARC601", cpu))
|
||||
|| (!strcmp ("A6", cpu)))
|
||||
{
|
||||
md_parse_option (OPTION_MCPU, "arc600");
|
||||
}
|
||||
else if ((!strcasecmp ("ARC700", cpu))
|
||||
|| (!strcasecmp ("A7", cpu)))
|
||||
else if ((!strcmp ("ARC700", cpu))
|
||||
|| (!strcmp ("A7", cpu)))
|
||||
{
|
||||
md_parse_option (OPTION_MCPU, "arc700");
|
||||
}
|
||||
else if (!strcasecmp ("EM", cpu))
|
||||
else if (!strcmp ("EM", cpu))
|
||||
{
|
||||
md_parse_option (OPTION_MCPU, "arcem");
|
||||
}
|
||||
else if (!strcasecmp ("HS", cpu))
|
||||
else if (!strcmp ("HS", cpu))
|
||||
{
|
||||
md_parse_option (OPTION_MCPU, "archs");
|
||||
}
|
||||
else if (!strcasecmp ("NPS400", cpu))
|
||||
else if (!strcmp ("NPS400", cpu))
|
||||
{
|
||||
md_parse_option (OPTION_MCPU, "nps400");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue