summaryrefslogtreecommitdiffstats
path: root/lib/libc/softfloat/ltdf2.c
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/softfloat/ltdf2.c
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/softfloat/ltdf2.c')
-rw-r--r--lib/libc/softfloat/ltdf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/softfloat/ltdf2.c b/lib/libc/softfloat/ltdf2.c
index 526e1e8bb66..8f7c86d45e4 100644
--- a/lib/libc/softfloat/ltdf2.c
+++ b/lib/libc/softfloat/ltdf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ltdf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */
+/* $OpenBSD: ltdf2.c,v 1.4 2019/11/10 22:23:29 guenther Exp $ */
/* $NetBSD: ltdf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,7 +9,7 @@
#include "milieu.h"
#include <softfloat.h>
-flag __ltdf2(float64, float64);
+flag __ltdf2(float64, float64) __dso_protected;
flag
__ltdf2(float64 a, float64 b)