check _STANDALONE

This commit is contained in:
msaitoh 1999-12-21 21:48:19 +00:00
parent 67f8a5ca5b
commit 5517154d15
1 changed files with 3 additions and 3 deletions

View File

@ -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. * Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
#include <machine/asm.h> #include <machine/asm.h>
#if defined(LIBC_SCCS) #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 #endif
/* r0 <= r4 / r5 */ /* r0 <= r4 / r5 */
@ -63,7 +63,7 @@ ENTRY(__udivsi3)
mov r4, r0 /* delay slot */ mov r4, r0 /* delay slot */
div_by_zero: div_by_zero:
#ifdef _KERNEL #if defined(_KERNEL) || defined(_STANDALONE)
rts rts
mov #0, r0 /* delay slot */ mov #0, r0 /* delay slot */
#else #else