From: Gerald Pfeifer <[email protected]>
Date: Tue, 4 Oct 2011 11:25:11 +0200 (CEST)
> On Sun, 2 Oct 2011, David Miller wrote:
>> We always use "Sparc" instead of "SPARC" for the cpu names output
>> by the kernel in /proc/cpuinfo.
>
> Ah, I see. Thanks for the explanation.
>
> What confused me a bit is that a bit earlier in the same table
> there is one (and just one) entry using "SPARC":
>
> { "SuperSPARC", "supersparc" }
>
> I assume this is for historical reasons?
Committed to trunk, as discussed:
--------------------
Small -m{cpu,tune}=native fix under Linux/Sparc.
* config/sparc/driver-sparc.c (cpu_names): Fix string for supersparc
under Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179510
138bc75d-0d04-0410-961f-82ee72b054a4
---
gcc/ChangeLog | 5 +++++
gcc/config/sparc/driver-sparc.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f4d9a6..788c5f5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-04 David S. Miller <[email protected]>
+
+ * config/sparc/driver-sparc.c (cpu_names): Fix string for supersparc
+ under Linux.
+
2011-10-04 Jakub Jelinek <[email protected]>
PR tree-optimization/50604
diff --git a/gcc/config/sparc/driver-sparc.c b/gcc/config/sparc/driver-sparc.c
index 9622728..3973fbc 100644
--- a/gcc/config/sparc/driver-sparc.c
+++ b/gcc/config/sparc/driver-sparc.c
@@ -58,7 +58,7 @@ static const struct cpu_names {
{ "SPARC-T3", "niagara3" },
{ "SPARC-T4", "niagara4" },
#else
- { "SuperSPARC", "supersparc" },
+ { "SuperSparc", "supersparc" },
{ "HyperSparc", "hypersparc" },
{ "SpitFire", "ultrasparc" },
{ "BlackBird", "ultrasparc" },
--
1.7.6.401.g6a319