diff options
author | 2013-03-28 18:09:38 +0000 | |
---|---|---|
committer | 2013-03-28 18:09:38 +0000 | |
commit | 2fbf033e009bb5c4db92160700ec03c25f292728 (patch) | |
tree | 9aef21f59264f48d8d9ffa3618aef7e19a65c105 /lib/libm/src/e_exp.c | |
parent | Add STRONG_ALIAS macros to be used from assembly code in libc and (diff) | |
download | wireguard-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/e_exp.c')
-rw-r--r-- | lib/libm/src/e_exp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/src/e_exp.c b/lib/libm/src/e_exp.c index 60d138fc9fc..06e462d5d76 100644 --- a/lib/libm/src/e_exp.c +++ b/lib/libm/src/e_exp.c @@ -157,5 +157,5 @@ exp(double x) /* default IEEE double exp */ } #if LDBL_MANT_DIG == 53 -__weak_alias(expl, exp); +__strong_alias(expl, exp); #endif /* LDBL_MANT_DIG == 53 */ |