From d3836a4dd20de81ec8f4adf4590fb2d2f40b7542 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 14 Feb 2008 15:10:34 +0000 Subject: Oops, the weak reference for ceill(), floorl() and truncl() was in the wrong file. This broke arm and powerpc. Reported by: grehan --- lib/msun/src/s_ceil.c | 4 ++++ lib/msun/src/s_ceill.c | 4 ---- lib/msun/src/s_floor.c | 4 ++++ lib/msun/src/s_floorl.c | 4 ---- lib/msun/src/s_trunc.c | 4 ++++ lib/msun/src/s_truncl.c | 4 ---- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/msun/src') diff --git a/lib/msun/src/s_ceil.c b/lib/msun/src/s_ceil.c index 210b7ee..b25c217 100644 --- a/lib/msun/src/s_ceil.c +++ b/lib/msun/src/s_ceil.c @@ -70,3 +70,7 @@ ceil(double x) INSERT_WORDS(x,i0,i1); return x; } + +#if LDBL_MANT_DIG == 53 +__weak_reference(ceil, ceill); +#endif diff --git a/lib/msun/src/s_ceill.c b/lib/msun/src/s_ceill.c index 07dbe81..2d1045f 100644 --- a/lib/msun/src/s_ceill.c +++ b/lib/msun/src/s_ceill.c @@ -99,7 +99,3 @@ ceill(long double x) } return (u.e); } - -#if LDBL_MANT_DIG == 53 -__weak_reference(ceil, ceill); -#endif diff --git a/lib/msun/src/s_floor.c b/lib/msun/src/s_floor.c index 16fc7f6..582a01a 100644 --- a/lib/msun/src/s_floor.c +++ b/lib/msun/src/s_floor.c @@ -71,3 +71,7 @@ floor(double x) INSERT_WORDS(x,i0,i1); return x; } + +#if LDBL_MANT_DIG == 53 +__weak_reference(floor, floorl); +#endif diff --git a/lib/msun/src/s_floorl.c b/lib/msun/src/s_floorl.c index e7fb2fe..6cec3e7 100644 --- a/lib/msun/src/s_floorl.c +++ b/lib/msun/src/s_floorl.c @@ -99,7 +99,3 @@ floorl(long double x) } return (u.e); } - -#if LDBL_MANT_DIG == 53 -__weak_reference(floor, floorl); -#endif 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 diff --git a/lib/msun/src/s_truncl.c b/lib/msun/src/s_truncl.c index 65b46c2..9e2b511 100644 --- a/lib/msun/src/s_truncl.c +++ b/lib/msun/src/s_truncl.c @@ -66,7 +66,3 @@ truncl(long double x) } return (u.e); } - -#if LDBL_MANT_DIG == 53 -__weak_reference(trunc, truncl); -#endif -- cgit v1.1