summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc/norm.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/sparc/norm.S')
-rw-r--r--src/mesa/sparc/norm.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/sparc/norm.S b/src/mesa/sparc/norm.S
index 876d7e310b1..713cd5b3754 100644
--- a/src/mesa/sparc/norm.S
+++ b/src/mesa/sparc/norm.S
@@ -1,8 +1,8 @@
-/* $Id: norm.S,v 1.4 2004/11/22 19:27:40 brianp Exp $ */
+/* $Id: norm.S,v 1.5 2005/07/28 00:11:11 idr Exp $ */
#include "sparc_matrix.h"
-#ifdef SVR4
+#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)
/* Solaris requires this for 64-bit. */
.register %g2, #scratch
.register %g3, #scratch
@@ -10,7 +10,7 @@
.text
-#if (defined(__sparc_v9__) && (!defined(__linux__) || defined(__linux_sparc_64__)))
+#ifdef __arch64__
#define STACK_VAR_OFF (2047 + (8 * 16))
#else
#define STACK_VAR_OFF (4 * 16)