summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/arm
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2019-11-10 22:23:28 +0000
committerguenther <guenther@openbsd.org>2019-11-10 22:23:28 +0000
commit00b6e344ba691d3d76ced8394494ab6d26b6766c (patch)
treedb84473796db356e2a7d8427aefeae8105521655 /lib/libc/arch/arm
parentSimplify the handling of the explicit relocations based on ld.so only (diff)
downloadwireguard-openbsd-00b6e344ba691d3d76ced8394494ab6d26b6766c.tar.xz
wireguard-openbsd-00b6e344ba691d3d76ced8394494ab6d26b6766c.zip
Mark as 'protected' all the routines from the quad/ and softfloat/ subdirs,
as well as those in arch/arm/gen/divsi3.S. This cleans up the PLTs on the 32bit archs. luna88k testing by aoyama@ "looks good" kettenis@, testing and ok deraadt@
Diffstat (limited to 'lib/libc/arch/arm')
-rw-r--r--lib/libc/arch/arm/gen/divsi3.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/arch/arm/gen/divsi3.S b/lib/libc/arch/arm/gen/divsi3.S
index a95dbda7fe3..7ba7ae441a4 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.4 2017/12/26 15:11:17 kettenis Exp $ */
+/* $OpenBSD: divsi3.S,v 1.5 2019/11/10 22:23:28 guenther Exp $ */
/* $NetBSD: divsi3.S,v 1.5 2003/04/05 23:08:51 bjh21 Exp $ */
/*
@@ -390,3 +390,6 @@ STRONG_ALIAS(__aeabi_idiv, __divsi3)
STRONG_ALIAS(__aeabi_idivmod, __divsi3)
STRONG_ALIAS(__aeabi_uidiv, __udivsi3)
STRONG_ALIAS(__aeabi_uidivmod, __udivsi3)
+
+ .protected __aeabi_idiv, __aeabi_idivmod
+ .protected __aeabi_uidiv, __aeabi_uidivmod