summaryrefslogtreecommitdiffstats
path: root/lib
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
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')
-rw-r--r--lib/msun/src/s_ceil.c4
-rw-r--r--lib/msun/src/s_ceill.c4
-rw-r--r--lib/msun/src/s_floor.c4
-rw-r--r--lib/msun/src/s_floorl.c4
-rw-r--r--lib/msun/src/s_trunc.c4
-rw-r--r--lib/msun/src/s_truncl.c4
6 files changed, 12 insertions, 12 deletions
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
OpenPOWER on IntegriCloud