This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] S/390: Enable upper case in .machine argument


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)
 	{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]