From 3a0bdcde18ea1df05d81982930eb54b119341bfd Mon Sep 17 00:00:00 2001 From: msaitoh Date: Sat, 9 Sep 2000 00:16:21 +0000 Subject: check _STANDALONE macro, too. --- sys/lib/libkern/arch/sh3/sdivsi3.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/lib') diff --git a/sys/lib/libkern/arch/sh3/sdivsi3.S b/sys/lib/libkern/arch/sh3/sdivsi3.S index 343c5ac4844..6c8df58cb91 100644 --- a/sys/lib/libkern/arch/sh3/sdivsi3.S +++ b/sys/lib/libkern/arch/sh3/sdivsi3.S @@ -1,4 +1,4 @@ -/* $NetBSD: sdivsi3.S,v 1.2 2000/01/03 02:40:04 msaitoh Exp $ */ +/* $NetBSD: sdivsi3.S,v 1.3 2000/09/09 00:16:21 msaitoh Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -40,7 +40,7 @@ #include #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.3 2000/09/09 00:16:21 msaitoh Exp $") #endif /* r0 <= r4 / r5 */ @@ -69,7 +69,7 @@ ENTRY(__sdivsi3) addc r2, r0 /* delay slot */ div_by_zero: -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_STANDALONE) rts mov #0, r0 /* delay slot */ #else -- cgit