]> granicus.if.org Git - strace/blobdiff - defs.h
2006-01-12 Roland McGrath <roland@redhat.com>
[strace] / defs.h
diff --git a/defs.h b/defs.h
index a04b78f6b6c0d3b8e3aba5d47d584cf209decacc..1e715cf6fe085b52b05e747f7ec1ccfdbfc5507a 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -194,9 +194,12 @@ extern int ptrace();
 #ifdef LINUXSPARC
 #include <linux/a.out.h>
 #include <asm/psr.h>
+#define PERSONALITY0_WORDSIZE 4
+#define PERSONALITY1_WORDSIZE 4
 #undef  SUPPORTED_PERSONALITIES
 #if defined(SPARC64)
 #define SUPPORTED_PERSONALITIES 3
+#define PERSONALITY2_WORDSIZE 8
 #else
 #define SUPPORTED_PERSONALITIES 2
 #endif /* SPARC64 */
@@ -205,6 +208,8 @@ extern int ptrace();
 #ifdef X86_64
 #undef SUPPORTED_PERSONALITIES
 #define SUPPORTED_PERSONALITIES 2
+#define PERSONALITY0_WORDSIZE 8
+#define PERSONALITY1_WORDSIZE 4
 #endif
 
 #ifdef SVR4