summaryrefslogtreecommitdiffstats
path: root/sys/libkern/arm/divsi3.S
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-03-16 04:08:01 +0000
committerandrew <andrew@FreeBSD.org>2013-03-16 04:08:01 +0000
commitfaaba46948fb2a2f0c76f4ef57dc6d7384fd55fe (patch)
tree8f293aad43d868e14ddc8035b68886ed6282b02f /sys/libkern/arm/divsi3.S
parent147f0b89f3dc8b52074ba05825f0e444127c50f2 (diff)
downloadFreeBSD-src-faaba46948fb2a2f0c76f4ef57dc6d7384fd55fe.zip
FreeBSD-src-faaba46948fb2a2f0c76f4ef57dc6d7384fd55fe.tar.gz
Add END to ARM libkern assembly functions
Diffstat (limited to 'sys/libkern/arm/divsi3.S')
-rw-r--r--sys/libkern/arm/divsi3.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/libkern/arm/divsi3.S b/sys/libkern/arm/divsi3.S
index 700ae37..302f179 100644
--- a/sys/libkern/arm/divsi3.S
+++ b/sys/libkern/arm/divsi3.S
@@ -29,6 +29,7 @@ ENTRY_NP(__umodsi3)
add sp, sp, #4 /* unalign stack */
mov r0, r1
ldmfd sp!, {pc}
+END(__umodsi3)
ENTRY_NP(__modsi3)
stmfd sp!, {lr}
@@ -48,6 +49,7 @@ ENTRY_NP(__modsi3)
mvn r0, #0
#endif
RET
+END(__modsi3)
#ifdef __ARM_EABI__
ENTRY_NP(__aeabi_uidiv)
@@ -74,6 +76,11 @@ ENTRY_NP(__udivsi3)
mov r0, r1
mov r1, #0
RET
+#ifdef __ARM_EABI__
+END(__aeabi_uidiv)
+END(__aeabi_uidivmod)
+#endif
+END(__udivsi3)
#ifdef __ARM_EABI__
ENTRY_NP(__aeabi_idiv)
@@ -393,3 +400,9 @@ ENTRY_NP(__divsi3)
addhs r3, r3, r2
mov r0, r3
RET
+#ifdef __ARM_EABI__
+END(__aeabi_idiv)
+END(__aeabi_idivmod)
+#endif
+END(__divsi3)
+
OpenPOWER on IntegriCloud