summaryrefslogtreecommitdiff
path: root/linux-user/ppc/syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/ppc/syscall.h')
-rw-r--r--linux-user/ppc/syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/ppc/syscall.h b/linux-user/ppc/syscall.h
index 6514c637a5..db92bbee17 100644
--- a/linux-user/ppc/syscall.h
+++ b/linux-user/ppc/syscall.h
@@ -58,8 +58,12 @@ struct target_revectored_struct {
*/
#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
+#ifdef TARGET_WORDS_BIGENDIAN
#define UNAME_MACHINE "ppc64"
#else
+#define UNAME_MACHINE "ppc64le"
+#endif
+#else
#define UNAME_MACHINE "ppc"
#endif
#define UNAME_MINIMUM_RELEASE "2.6.32"