diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2015-03-05 00:07:33 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-04 19:32:11 -0500 |
commit | 3a867c6a2361c8af943d3ed452da6e8623a3f65d (patch) | |
tree | caae1aad6f542d9ca09f55160efeabea9579b1ff /src/shared | |
parent | b1c1a51944e8e11545ae2a230d674f5145595192 (diff) |
Use correct uname identifiers in arch_map for SuperH architecture
https://bugs.freedesktop.org/show_bug.cgi?id=89421
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/architecture.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/shared/architecture.c b/src/shared/architecture.c index 34c5a53fa9..884abdd3ea 100644 --- a/src/shared/architecture.c +++ b/src/shared/architecture.c @@ -108,8 +108,12 @@ int uname_architecture(void) { { "armv8l", ARCHITECTURE_ARM }, { "armv8b", ARCHITECTURE_ARM_BE }, #elif defined(__sh__) || defined(__sh64__) - { "sh64", ARCHITECTURE_SH64 }, - { "sh", ARCHITECTURE_SH }, + { "sh5", ARCHITECTURE_SH64 }, + { "sh2", ARCHITECTURE_SH }, + { "sh2a", ARCHITECTURE_SH }, + { "sh3", ARCHITECTURE_SH }, + { "sh4", ARCHITECTURE_SH }, + { "sh4a", ARCHITECTURE_SH }, #elif defined(__m68k__) { "m68k", ARCHITECTURE_M68K }, #elif defined(__tilegx__) |