mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
Use correct uname identifiers in arch_map for SuperH architecture
https://bugs.freedesktop.org/show_bug.cgi?id=89421 (cherry picked from commit3a867c6a23) (cherry picked from commit9b6d110970)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e618003499
commit
bd476b3055
@@ -108,8 +108,12 @@ Architecture 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__)
|
||||
|
||||
Reference in New Issue
Block a user