Source-Changes-HG archive

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

[src/netbsd-1-4]: src/lib/libc/arch/arm32/gen pull up rev 1.4 from trunk (req...



details:   https://anonhg.NetBSD.org/src/rev/a2369d3912d7
branches:  netbsd-1-4
changeset: 469471:a2369d3912d7
user:      cgd <cgd%NetBSD.org@localhost>
date:      Wed Sep 22 06:08:21 1999 +0000

description:
pull up rev 1.4 from trunk (requested by is):
  Fix arm32 divsi3 pullup so that it does the right thing w.r.t.
  copy-to-libkern and the files being identical in libc/libkern.

diffstat:

 lib/libc/arch/arm32/gen/divsi3.S |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 774842d6babe -r a2369d3912d7 lib/libc/arch/arm32/gen/divsi3.S
--- a/lib/libc/arch/arm32/gen/divsi3.S  Wed Sep 22 05:59:29 1999 +0000
+++ b/lib/libc/arch/arm32/gen/divsi3.S  Wed Sep 22 06:08:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: divsi3.S,v 1.2.4.1 1999/09/19 15:29:33 he Exp $        */
+/*     $NetBSD: divsi3.S,v 1.2.4.2 1999/09/22 06:08:21 cgd Exp $       */
 
 /*
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -29,9 +29,14 @@
        ldmfd   sp!, {pc}
 
 L_overflow:
+#if !defined(_KERNEL) && !defined(_STANDALONE)
        mov     r0, #8                  /* SIGFPE */
        bl      _raise                  /* raise it */
        mov     r0, #0
+#else
+       /* XXX should cause a fatal error */
+       mvn     r0, #0
+#endif
        mov     pc, lr
 
 ENTRY(__udivsi3)



Home | Main Index | Thread Index | Old Index