aboutsummaryrefslogtreecommitdiff
path: root/linux-user/ppc/syscall.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-18 20:51:49 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-18 20:51:49 +0000
commitf85e9a6870c7e96c2748ec0c40e04c00600189ae (patch)
treef8780a9cb5415105ad4442ff9d6692ac5fda85f7 /linux-user/ppc/syscall.h
parente85e7c6ea411c42e24e6e7b8ff5cdd99faae317a (diff)
Use TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3410 c046a42c-6fe2-441c-8c8c-71466251a162
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 30427f69e0..f98d2bca5a 100644
--- a/linux-user/ppc/syscall.h
+++ b/linux-user/ppc/syscall.h
@@ -51,4 +51,8 @@ struct target_revectored_struct {
* flags masks
*/
+#if defined(TARGET_PPC64) && !defined(TARGET_ABI32)
+#define UNAME_MACHINE "ppc64"
+#else
#define UNAME_MACHINE "ppc"
+#endif