aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-96
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_fromfpl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_fromfpxl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_getpayloadl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_roundevenl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_setpayloadl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_totalorderl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_totalordermagl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_ufromfpl.c3
-rw-r--r--sysdeps/ieee754/ldbl-96/s_ufromfpxl.c3
10 files changed, 20 insertions, 10 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_fromfpl.c b/sysdeps/ieee754/ldbl-96/s_fromfpl.c
index e323b4c25b..f3fdba33c1 100644
--- a/sysdeps/ieee754/ldbl-96/s_fromfpl.c
+++ b/sysdeps/ieee754/ldbl-96/s_fromfpl.c
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpl
+#define FUNC __fromfpl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpl, fromfpl)
diff --git a/sysdeps/ieee754/ldbl-96/s_fromfpxl.c b/sysdeps/ieee754/ldbl-96/s_fromfpxl.c
index 2f3189d7de..9477cc2ea7 100644
--- a/sysdeps/ieee754/ldbl-96/s_fromfpxl.c
+++ b/sysdeps/ieee754/ldbl-96/s_fromfpxl.c
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxl
+#define FUNC __fromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpxl, fromfpxl)
diff --git a/sysdeps/ieee754/ldbl-96/s_getpayloadl.c b/sysdeps/ieee754/ldbl-96/s_getpayloadl.c
index 6efe97baee..2c4dab2f58 100644
--- a/sysdeps/ieee754/ldbl-96/s_getpayloadl.c
+++ b/sysdeps/ieee754/ldbl-96/s_getpayloadl.c
@@ -21,7 +21,7 @@
#include <stdint.h>
long double
-getpayloadl (const long double *x)
+__getpayloadl (const long double *x)
{
uint16_t se __attribute__ ((unused));
uint32_t hx, lx;
@@ -30,3 +30,4 @@ getpayloadl (const long double *x)
uint64_t ix = ((uint64_t) hx << 32) | lx;
return (long double) ix;
}
+weak_alias (__getpayloadl, getpayloadl)
diff --git a/sysdeps/ieee754/ldbl-96/s_roundevenl.c b/sysdeps/ieee754/ldbl-96/s_roundevenl.c
index dab6aa6558..de09535fa6 100644
--- a/sysdeps/ieee754/ldbl-96/s_roundevenl.c
+++ b/sysdeps/ieee754/ldbl-96/s_roundevenl.c
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
long double
-roundevenl (long double x)
+__roundevenl (long double x)
{
uint16_t se;
uint32_t hx, lx;
@@ -122,3 +122,4 @@ roundevenl (long double x)
SET_LDOUBLE_WORDS (x, se, hx, lx);
return x;
}
+weak_alias (__roundevenl, roundevenl)
diff --git a/sysdeps/ieee754/ldbl-96/s_setpayloadl.c b/sysdeps/ieee754/ldbl-96/s_setpayloadl.c
index 1aba33e6e2..bb07a3533a 100644
--- a/sysdeps/ieee754/ldbl-96/s_setpayloadl.c
+++ b/sysdeps/ieee754/ldbl-96/s_setpayloadl.c
@@ -1,3 +1,4 @@
#define SIG 0
-#define FUNC setpayloadl
+#define FUNC __setpayloadl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadl, setpayloadl)
diff --git a/sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c b/sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c
index d97e2c8206..4e920360d4 100644
--- a/sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c
+++ b/sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c
@@ -1,3 +1,4 @@
#define SIG 1
-#define FUNC setpayloadsigl
+#define FUNC __setpayloadsigl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadsigl, setpayloadsigl)
diff --git a/sysdeps/ieee754/ldbl-96/s_totalorderl.c b/sysdeps/ieee754/ldbl-96/s_totalorderl.c
index 16accad1ff..2d3b3b7d05 100644
--- a/sysdeps/ieee754/ldbl-96/s_totalorderl.c
+++ b/sysdeps/ieee754/ldbl-96/s_totalorderl.c
@@ -23,7 +23,7 @@
#include <stdint.h>
int
-totalorderl (long double x, long double y)
+__totalorderl (long double x, long double y)
{
int16_t expx, expy;
uint32_t hx, hy;
@@ -55,3 +55,4 @@ totalorderl (long double x, long double y)
ly ^= y_sign;
return expx < expy || (expx == expy && (hx < hy || (hx == hy && lx <= ly)));
}
+weak_alias (__totalorderl, totalorderl)
diff --git a/sysdeps/ieee754/ldbl-96/s_totalordermagl.c b/sysdeps/ieee754/ldbl-96/s_totalordermagl.c
index 6b370b2ade..2d22a0c518 100644
--- a/sysdeps/ieee754/ldbl-96/s_totalordermagl.c
+++ b/sysdeps/ieee754/ldbl-96/s_totalordermagl.c
@@ -23,7 +23,7 @@
#include <stdint.h>
int
-totalordermagl (long double x, long double y)
+__totalordermagl (long double x, long double y)
{
uint16_t expx, expy;
uint32_t hx, hy;
@@ -49,3 +49,4 @@ totalordermagl (long double x, long double y)
#endif
return expx < expy || (expx == expy && (hx < hy || (hx == hy && lx <= ly)));
}
+weak_alias (__totalordermagl, totalordermagl)
diff --git a/sysdeps/ieee754/ldbl-96/s_ufromfpl.c b/sysdeps/ieee754/ldbl-96/s_ufromfpl.c
index c686daa4a7..2176aa0cdd 100644
--- a/sysdeps/ieee754/ldbl-96/s_ufromfpl.c
+++ b/sysdeps/ieee754/ldbl-96/s_ufromfpl.c
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpl
+#define FUNC __ufromfpl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpl, ufromfpl)
diff --git a/sysdeps/ieee754/ldbl-96/s_ufromfpxl.c b/sysdeps/ieee754/ldbl-96/s_ufromfpxl.c
index 906066c83c..2901151312 100644
--- a/sysdeps/ieee754/ldbl-96/s_ufromfpxl.c
+++ b/sysdeps/ieee754/ldbl-96/s_ufromfpxl.c
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxl
+#define FUNC __ufromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpxl, ufromfpxl)