summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/s_expm1.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2013-03-28 18:09:38 +0000
committermartynas <martynas@openbsd.org>2013-03-28 18:09:38 +0000
commit2fbf033e009bb5c4db92160700ec03c25f292728 (patch)
tree9aef21f59264f48d8d9ffa3618aef7e19a65c105 /lib/libm/src/s_expm1.c
parentAdd STRONG_ALIAS macros to be used from assembly code in libc and (diff)
downloadwireguard-openbsd-2fbf033e009bb5c4db92160700ec03c25f292728.tar.xz
wireguard-openbsd-2fbf033e009bb5c4db92160700ec03c25f292728.zip
Switch libc and libm to use strong aliases rather than weak aliases
where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@.
Diffstat (limited to 'lib/libm/src/s_expm1.c')
-rw-r--r--lib/libm/src/s_expm1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/src/s_expm1.c b/lib/libm/src/s_expm1.c
index 199a8b283f0..ba4e12a005f 100644
--- a/lib/libm/src/s_expm1.c
+++ b/lib/libm/src/s_expm1.c
@@ -218,5 +218,5 @@ expm1(double x)
}
#if LDBL_MANT_DIG == 53
-__weak_alias(expm1l, expm1);
+__strong_alias(expm1l, expm1);
#endif /* LDBL_MANT_DIG == 53 */