Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/lib/libkern/arch/arm32 pull up revs 1.5-1.6 from tr...
details: https://anonhg.NetBSD.org/src/rev/8070263e92f7
branches: netbsd-1-4
changeset: 469473:8070263e92f7
user: cgd <cgd%NetBSD.org@localhost>
date: Wed Sep 22 06:08:33 1999 +0000
description:
pull up revs 1.5-1.6 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:
sys/lib/libkern/arch/arm32/divsi3.S | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r fe82a17f660a -r 8070263e92f7 sys/lib/libkern/arch/arm32/divsi3.S
--- a/sys/lib/libkern/arch/arm32/divsi3.S Wed Sep 22 06:08:27 1999 +0000
+++ b/sys/lib/libkern/arch/arm32/divsi3.S Wed Sep 22 06:08:33 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: divsi3.S,v 1.2.10.2 1999/09/19 15:54:46 he Exp $ */
+/* $NetBSD: divsi3.S,v 1.2.10.3 1999/09/22 06:08:33 cgd Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -29,7 +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