X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fsparc%2Fxform.S;h=2a7cce41e5ad78b19e44df54432295121d9c1836;hb=4af27145fe2fec6586ce95e80a76cdcbfe933db1;hp=a57d35720e45a94b4fa37a02f62398c40d58efe0;hpb=775355a88a0927e2e3a855036c26950397a61d7b;p=mesa.git diff --git a/src/mesa/sparc/xform.S b/src/mesa/sparc/xform.S index a57d35720e4..2a7cce41e5a 100644 --- a/src/mesa/sparc/xform.S +++ b/src/mesa/sparc/xform.S @@ -1,4 +1,3 @@ -/* $Id: xform.S,v 1.2 2001/06/05 23:54:01 davem69 Exp $ */ /* TODO * @@ -18,6 +17,12 @@ #include "sparc_matrix.h" +#if defined(SVR4) || defined(__SVR4) || defined(__svr4__) || defined(__arch64__) + /* Solaris requires this for 64-bit. */ + .register %g2, #scratch + .register %g3, #scratch +#endif + .text .align 64