aboutsummaryrefslogtreecommitdiffstats
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.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/sparc/norm.S b/src/mesa/sparc/norm.S
index 02f0f0d4c3e..6f7356b948f 100644
--- a/src/mesa/sparc/norm.S
+++ b/src/mesa/sparc/norm.S
@@ -1,7 +1,13 @@
-/* $Id: norm.S,v 1.2 2003/12/01 22:40:51 brianp Exp $ */
+/* $Id: norm.S,v 1.3 2004/04/26 10:10:25 alanh Exp $ */
#include "sparc_matrix.h"
+#ifdef SVR4
+ /* Solaris requires this for 64-bit. */
+ .register %g2, #scratch
+ .register %g3, #scratch
+#endif
+
.text
#if defined(__sparc_v9__) && !defined(__linux__)