|
Zbigniew Jędrzejewski-Szmek |
399a2a |
From 9b6d1109707911b63b76b1c7a26e89a21cef9011 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
Date: Thu, 5 Mar 2015 00:07:33 +0100
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
Subject: [PATCH] Use correct uname identifiers in arch_map for SuperH
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
architecture
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
https://bugs.freedesktop.org/show_bug.cgi?id=89421
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
(cherry picked from commit 3a867c6a2361c8af943d3ed452da6e8623a3f65d)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
---
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
src/shared/architecture.c | 8 ++++++--
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
1 file changed, 6 insertions(+), 2 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
diff --git a/src/shared/architecture.c b/src/shared/architecture.c
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
index 34c5a53fa9..884abdd3ea 100644
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
--- a/src/shared/architecture.c
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+++ b/src/shared/architecture.c
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
@@ -108,8 +108,12 @@ int uname_architecture(void) {
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
{ "armv8l", ARCHITECTURE_ARM },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
{ "armv8b", ARCHITECTURE_ARM_BE },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
#elif defined(__sh__) || defined(__sh64__)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- { "sh64", ARCHITECTURE_SH64 },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
- { "sh", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh5", ARCHITECTURE_SH64 },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh2", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh2a", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh3", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh4", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
+ { "sh4a", ARCHITECTURE_SH },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
#elif defined(__m68k__)
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
{ "m68k", ARCHITECTURE_M68K },
|
|
Zbigniew Jędrzejewski-Szmek |
399a2a |
#elif defined(__tilegx__)
|