This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] Support -m{cpu,tune}=native on Linux/Sparc


Hi David,

On Sun, 4 Sep 2011, David Miller wrote:
> 	* config/sparc/driver-sparc.c: Correct Linux strings.

would a patch like the one below be appropriate (with a ChangeLog entry), 
or is the Linux kernel (or GNU/Linux userland) really using Sparc instead 
of SPARC in those places?

Gerald

Index: config/sparc/driver-sparc.c
===================================================================
--- config/sparc/driver-sparc.c	(revision 179430)
+++ config/sparc/driver-sparc.c	(working copy)
@@ -59,7 +59,7 @@
   { "SPARC-T4",		"niagara4" },
 #else
   { "SuperSPARC",	"supersparc" },
-  { "HyperSparc",	"hypersparc" },
+  { "HyperSPARC",	"hypersparc" },
   { "SpitFire",		"ultrasparc" },
   { "BlackBird",	"ultrasparc" },
   { "Sabre",		"ultrasparc" },
@@ -69,10 +69,10 @@
   { "Jaguar",		"ultrasparc3" },
   { "Panther",		"ultrasparc3" },
   { "Serrano",		"ultrasparc3" },
-  { "UltraSparc T1",	"niagara" },
-  { "UltraSparc T2",	"niagara2" },
-  { "UltraSparc T3",	"niagara3" },
-  { "UltraSparc T4",	"niagara4" },
+  { "UltraSPARC T1",	"niagara" },
+  { "UltraSPARC T2",	"niagara2" },
+  { "UltraSPARC T3",	"niagara3" },
+  { "UltraSPARC T4",	"niagara4" },
 #endif
   { NULL,	NULL }
   };


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