Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/lib/libkern/arch/sh3 pullup revision 1.3 (approved ...



details:   https://anonhg.NetBSD.org/src/rev/255cfc159e9d
branches:  netbsd-1-5
changeset: 489504:255cfc159e9d
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Sep 21 07:52:33 2000 +0000

description:
pullup revision 1.3 (approved by thorpej):

 check _STANDALONE macro, too (for boot-loader)

diffstat:

 sys/lib/libkern/arch/sh3/sdivsi3.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r aea8eddb0331 -r 255cfc159e9d sys/lib/libkern/arch/sh3/sdivsi3.S
--- a/sys/lib/libkern/arch/sh3/sdivsi3.S        Wed Sep 20 23:39:41 2000 +0000
+++ b/sys/lib/libkern/arch/sh3/sdivsi3.S        Thu Sep 21 07:52:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdivsi3.S,v 1.2 2000/01/03 02:40:04 msaitoh Exp $      */
+/*     $NetBSD: sdivsi3.S,v 1.2.4.1 2000/09/21 07:52:33 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: sdivsi3.S,v 1.2 2000/01/03 02:40:04 msaitoh Exp $")
+       RCSID("$NetBSD: sdivsi3.S,v 1.2.4.1 2000/09/21 07:52:33 msaitoh Exp $")
 #endif
 
 /* r0 <= r4 / r5 */
@@ -69,7 +69,7 @@
        addc    r2, r0          /* delay slot */
 
 div_by_zero:
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
        rts
        mov     #0, r0          /* delay slot */
 #else



Home | Main Index | Thread Index | Old Index