From 00b6e344ba691d3d76ced8394494ab6d26b6766c Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 10 Nov 2019 22:23:28 +0000 Subject: 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@ --- lib/libc/softfloat/ltsf2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/softfloat/ltsf2.c') diff --git a/lib/libc/softfloat/ltsf2.c b/lib/libc/softfloat/ltsf2.c index 223d3f2bbff..6aa032f4f79 100644 --- a/lib/libc/softfloat/ltsf2.c +++ b/lib/libc/softfloat/ltsf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ltsf2.c,v 1.3 2015/09/13 14:21:46 miod Exp $ */ +/* $OpenBSD: ltsf2.c,v 1.4 2019/11/10 22:23:29 guenther Exp $ */ /* $NetBSD: ltsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */ /* @@ -9,7 +9,7 @@ #include "milieu.h" #include -flag __ltsf2(float32, float32); +flag __ltsf2(float32, float32) __dso_protected; flag __ltsf2(float32 a, float32 b) -- cgit v1.2.3-59-g8ed1b