This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Support -m{cpu,tune}=native on Linux/Sparc
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Botcazou <ebotcazou at adacore dot com>, ro at CeBiTec dot Uni-Bielefeld dot DE
- Date: Sun, 2 Oct 2011 23:11:14 +0200 (CEST)
- Subject: Re: [PATCH] Support -m{cpu,tune}=native on Linux/Sparc
- References: <20110904.212448.1952992983929823827.davem@davemloft.net>
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 }
};