aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2016-04-17 23:17:44 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2016-04-17 23:22:15 +0100
commit644aca26b524733be8bc1267e059b62c9971e77e (patch)
tree4a69f04555a67315336f42cd87a9f0f9b8120bb9 /gas
parent35cf27b027b061038a07de2506dec7746353c361 (diff)
downloadgdb-644aca26b524733be8bc1267e059b62c9971e77e.zip
gdb-644aca26b524733be8bc1267e059b62c9971e77e.tar.gz
gdb-644aca26b524733be8bc1267e059b62c9971e77e.tar.bz2
Revert "gas/arc: Make .cpu directive case-insensitive"
This reverts commit 9a452709fe126ea6da23a53426362e4435d2dc06. 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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arc.c16
2 files changed, 14 insertions, 8 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index df4cbfb..263d0b2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 4f4e970..169b05c 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -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");
}