aboutsummaryrefslogtreecommitdiff
path: root/linux-user/sparc64
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2018-05-10 01:11:23 +0200
committerLaurent Vivier <laurent@vivier.eu>2018-05-11 19:05:38 +0200
commit9a93c152fcdb4ab2cd85094487b33578fd693915 (patch)
tree142f6ab9a84e1356b2bff86e0f16b222078ad090 /linux-user/sparc64
parent0562384910bb304b6c811ecac0ad95e699a4c368 (diff)
linux-user: fix UNAME_MACHINE for sparc/sparc64
"sun4" is not recognized by config.guess. linux defines sparc and sparc64 in arch/sparc/Makefile. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20180509231123.20864-7-laurent@vivier.eu>
Diffstat (limited to 'linux-user/sparc64')
-rw-r--r--linux-user/sparc64/target_syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/sparc64/target_syscall.h b/linux-user/sparc64/target_syscall.h
index 34f49df4a1..3073a23e03 100644
--- a/linux-user/sparc64/target_syscall.h
+++ b/linux-user/sparc64/target_syscall.h
@@ -12,7 +12,7 @@ struct target_pt_regs {
abi_ulong fprs;
};
-#define UNAME_MACHINE "sun4u"
+#define UNAME_MACHINE "sparc64"
#define UNAME_MINIMUM_RELEASE "2.6.32"
/* SPARC kernels don't define this in their Kconfig, but they have the