summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-05-24 17:19:47 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-05-24 17:19:47 +0000
commit4f550e10ad59463371fe84cf2817771348343308 (patch)
tree7c14543c0d845efc25d1cd7025bbbce8d535344b /lib/libc/arch
parent08693a354865b291d7e3a3d44f1f8724d0b950a6 (diff)
Add END() tags to give these functions sizes in the ELF symbol table
ok kettenis@ miod@
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/arm/gen/divsi3.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/arch/arm/gen/divsi3.S b/lib/libc/arch/arm/gen/divsi3.S
index 7ba7ae441a4..75b5936c5e1 100644
--- a/lib/libc/arch/arm/gen/divsi3.S
+++ b/lib/libc/arch/arm/gen/divsi3.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: divsi3.S,v 1.5 2019/11/10 22:23:28 guenther Exp $ */
+/* $OpenBSD: divsi3.S,v 1.6 2022/05/24 17:19:46 guenther Exp $ */
/* $NetBSD: divsi3.S,v 1.5 2003/04/05 23:08:51 bjh21 Exp $ */
/*
@@ -29,6 +29,7 @@ ENTRY(__umodsi3)
add sp, sp, #4 /* unalign stack */
mov r0, r1
ldmfd sp!, {pc}
+END(__umodsi3)
ENTRY(__modsi3)
stmfd sp!, {lr}
@@ -37,6 +38,7 @@ ENTRY(__modsi3)
add sp, sp, #4 /* unalign stack */
mov r0, r1
ldmfd sp!, {pc}
+END(__modsi3)
.L_overflow:
#if !defined(_KERNEL) && !defined(_STANDALONE)
@@ -70,6 +72,7 @@ ENTRY(__udivsi3)
mov r0, r1
mov r1, #0
mov pc, lr
+END(__udivsi3)
ENTRY(__divsi3)
.L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */
@@ -385,6 +388,7 @@ ENTRY(__divsi3)
addhs r3, r3, r2
mov r0, r3
mov pc, lr
+END(__divsi3)
STRONG_ALIAS(__aeabi_idiv, __divsi3)
STRONG_ALIAS(__aeabi_idivmod, __divsi3)