summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/s_trunc.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2008-02-14 15:10:34 +0000
committerbde <bde@FreeBSD.org>2008-02-14 15:10:34 +0000
commitd3836a4dd20de81ec8f4adf4590fb2d2f40b7542 (patch)
treeb267eecedb58f8aadc39cc9769b211d8d55d1cac /lib/msun/src/s_trunc.c
parent6137f591eda97a3f40f8d6b1425fb907dd3ebb01 (diff)
downloadFreeBSD-src-d3836a4dd20de81ec8f4adf4590fb2d2f40b7542.zip
FreeBSD-src-d3836a4dd20de81ec8f4adf4590fb2d2f40b7542.tar.gz
Oops, the weak reference for ceill(), floorl() and truncl() was in the
wrong file. This broke arm and powerpc. Reported by: grehan
Diffstat (limited to 'lib/msun/src/s_trunc.c')
-rw-r--r--lib/msun/src/s_trunc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msun/src/s_trunc.c b/lib/msun/src/s_trunc.c
index cce9e15..0b3089e 100644
--- a/lib/msun/src/s_trunc.c
+++ b/lib/msun/src/s_trunc.c
@@ -59,3 +59,7 @@ trunc(double x)
INSERT_WORDS(x,i0,i1);
return x;
}
+
+#if LDBL_MANT_DIG == 53
+__weak_reference(trunc, truncl);
+#endif
OpenPOWER on IntegriCloud