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/sh3 check _STANDALONE
details: https://anonhg.NetBSD.org/src/rev/08200c8a2c6b
branches: trunk
changeset: 479807:08200c8a2c6b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Dec 21 21:48:19 1999 +0000
description:
check _STANDALONE
diffstat:
sys/lib/libkern/arch/sh3/udivsi3.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e874566cc110 -r 08200c8a2c6b sys/lib/libkern/arch/sh3/udivsi3.S
--- a/sys/lib/libkern/arch/sh3/udivsi3.S Tue Dec 21 21:41:56 1999 +0000
+++ b/sys/lib/libkern/arch/sh3/udivsi3.S Tue Dec 21 21:48:19 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udivsi3.S,v 1.1 1999/09/13 10:31:43 itojun Exp $ */
+/* $NetBSD: udivsi3.S,v 1.2 1999/12/21 21:48:19 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: udivsi3.S,v 1.1 1999/09/13 10:31:43 itojun Exp $")
+ RCSID("$NetBSD: udivsi3.S,v 1.2 1999/12/21 21:48:19 msaitoh Exp $")
#endif
/* r0 <= r4 / r5 */
@@ -63,7 +63,7 @@
mov r4, 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