Module Name:    src
Committed By:   matt
Date:           Thu Dec 12 18:01:15 UTC 2013

Modified Files:
        src/common/lib/libc/arch/arm/quad: __aeabi_uldivmod.S

Log Message:
Fix a bug in the divby0 case.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S
diff -u src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S:1.7 src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S:1.8
--- src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S:1.7	Mon Aug 19 03:43:07 2013
+++ src/common/lib/libc/arch/arm/quad/__aeabi_uldivmod.S	Thu Dec 12 18:01:14 2013
@@ -29,7 +29,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: __aeabi_uldivmod.S,v 1.7 2013/08/19 03:43:07 matt Exp $")
+RCSID("$NetBSD: __aeabi_uldivmod.S,v 1.8 2013/12/12 18:01:14 matt Exp $")
 
 /*
  * typedef struct { unsigned long long quo, rem } ulldiv_t;
@@ -105,7 +105,7 @@ ENTRY(__aeabi_uldivmod)
 #else
 	mvn	r0, #0
 #endif
-	mvns	r1, r0
+	movs	r1, r0
 	bl	PLT_SYM(__aeabi_ldiv0)
 	pop	{r2-r4,pc}
 #endif

Reply via email to