Mesa (mesa_7_6_branch): sparc: additional preprocessor test for SPARC 64-bit

Brian Paul brianp at kemper.freedesktop.org
Fri Dec 11 07:49:19 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: f7f1211b9b0a8fa0e5f5427b74b4eee4dabf65af
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f7f1211b9b0a8fa0e5f5427b74b4eee4dabf65af

Author: Aurelien Jarno <aurel32 at debian.org>
Date:   Fri Dec 11 08:46:54 2009 -0700

sparc: additional preprocessor test for SPARC 64-bit

---

 src/mesa/sparc/xform.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/sparc/xform.S b/src/mesa/sparc/xform.S
index f2b9674..2a7cce4 100644
--- a/src/mesa/sparc/xform.S
+++ b/src/mesa/sparc/xform.S
@@ -17,7 +17,7 @@
 
 #include "sparc_matrix.h"
 
-#if defined(SVR4) || defined(__SVR4) || defined(__svr4__)
+#if defined(SVR4) || defined(__SVR4) || defined(__svr4__) || defined(__arch64__)
 	/* Solaris requires this for 64-bit. */
         .register %g2, #scratch
         .register %g3, #scratch



More information about the mesa-commit mailing list