Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/arm/gen For __udivsi3 and __divsi3, add...
details: https://anonhg.NetBSD.org/src/rev/707cedd269ed
branches: trunk
changeset: 780744:707cedd269ed
user: matt <matt%NetBSD.org@localhost>
date: Sun Aug 05 04:22:01 2012 +0000
description:
For __udivsi3 and __divsi3, add their EABI aliases as alternate entry
points.
diffstat:
common/lib/libc/arch/arm/gen/divsi3.S | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 3b020b5aafe6 -r 707cedd269ed common/lib/libc/arch/arm/gen/divsi3.S
--- a/common/lib/libc/arch/arm/gen/divsi3.S Sun Aug 05 04:17:41 2012 +0000
+++ b/common/lib/libc/arch/arm/gen/divsi3.S Sun Aug 05 04:22:01 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: divsi3.S,v 1.1 2005/12/20 19:28:49 christos Exp $ */
+/* $NetBSD: divsi3.S,v 1.2 2012/08/05 04:22:01 matt Exp $ */
/*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@@ -48,6 +48,8 @@
#endif
RET
+ENTRY_NP(__aeabi_uidivmod)
+ENTRY_NP(__aeabi_uidiv)
ENTRY(__udivsi3)
.L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
@@ -70,6 +72,8 @@
mov r1, #0
RET
+ENTRY_NP(__aeabi_idivmod)
+ENTRY_NP(__aeabi_idiv)
ENTRY(__divsi3)
.L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
eor r0, r1, r0
Home |
Main Index |
Thread Index |
Old Index