From 6b3625a6ad3bdfb2628a1aa3d8249af6263734ce Mon Sep 17 00:00:00 2001 From: is Date: Sun, 19 Sep 1999 15:58:02 +0000 Subject: [PATCH] Oops. The overflow code should not have been copied from the userland version. --- sys/lib/libkern/arch/arm32/divsi3.S | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/lib/libkern/arch/arm32/divsi3.S b/sys/lib/libkern/arch/arm32/divsi3.S index a5869464dfb1..c79dd83ee815 100644 --- a/sys/lib/libkern/arch/arm32/divsi3.S +++ b/sys/lib/libkern/arch/arm32/divsi3.S @@ -1,4 +1,4 @@ -/* $NetBSD: divsi3.S,v 1.3 1999/09/17 11:42:56 is Exp $ */ +/* $NetBSD: divsi3.S,v 1.4 1999/09/19 15:58:02 is Exp $ */ /* * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND @@ -29,9 +29,7 @@ ENTRY(__modsi3) ldmfd sp!, {pc} L_overflow: - mov r0, #8 /* SIGFPE */ - bl _raise /* raise it */ - mov r0, #0 + mvn r0, #0 mov pc, lr ENTRY(__udivsi3)