[Committed] S/390: Enable upper case in .machine argument
Andreas Krebbel
krebbel@linux.vnet.ibm.com
Wed Jul 24 09:03:00 GMT 2013
Hi,
the argument of the ".machine" pseudo command is always converted to
lower case. This does not work that well with "zEC12" - the argument
required for the latest CPU level.
Fixed with the attached patch.
Bye,
-Andreas-
2013-07-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gas/config/tc-s390.c (s390_machine): Don't force the .machine
argument to lower case.
---
gas/config/tc-s390.c | 4 ----
1 file changed, 4 deletions(-)
Index: binutils/gas/config/tc-s390.c
===================================================================
--- binutils.orig/gas/config/tc-s390.c
+++ binutils/gas/config/tc-s390.c
@@ -1847,10 +1847,6 @@ s390_machine (int ignore ATTRIBUTE_UNUSE
{
unsigned int old_cpu = current_cpu;
unsigned int new_cpu;
- char *p;
-
- for (p = cpu_string; *p != 0; p++)
- *p = TOLOWER (*p);
if (strcmp (cpu_string, "push") == 0)
{
More information about the Binutils
mailing list