Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch/sparc catch up with the userland copy:



details:   https://anonhg.NetBSD.org/src/rev/f1618d5ba561
branches:  trunk
changeset: 766007:f1618d5ba561
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 13 03:23:53 2011 +0000

description:
catch up with the userland copy:
>revision 1.6
>date: 2011/03/23 20:54:35;  author: martin;  state: Exp;  lines: +2 -2
>Avoid using %g7

fixes rump on sparc, at least somewhat.
tested that normal kernels runs fine this with this change, too.

diffstat:

 sys/lib/libkern/arch/sparc/divrem.m4 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 4147aa6fa764 -r f1618d5ba561 sys/lib/libkern/arch/sparc/divrem.m4
--- a/sys/lib/libkern/arch/sparc/divrem.m4      Mon Jun 13 00:53:15 2011 +0000
+++ b/sys/lib/libkern/arch/sparc/divrem.m4      Mon Jun 13 03:23:53 2011 +0000
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  * from: Header: divrem.m4,v 1.4 92/06/25 13:23:57 torek Exp
- * $NetBSD: divrem.m4,v 1.8 2005/12/11 12:24:44 christos Exp $
+ * $NetBSD: divrem.m4,v 1.9 2011/06/13 03:23:53 mrg Exp $
  */
 
 /*
@@ -89,7 +89,7 @@
 
 /* m4 reminder: ifelse(a,b,c,d) => if a is b, then c, else d */
 define(T, `%g1')
-define(SC, `%g7')
+define(SC, `%g5')
 ifelse(S, `true', `define(SIGN, `%g6')')
 
 /*



Home | Main Index | Thread Index | Old Index