aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/w_j0_compat.c12
-rw-r--r--math/w_j0f_compat.c6
-rw-r--r--math/w_j1_compat.c12
-rw-r--r--math/w_j1f_compat.c6
-rw-r--r--math/w_jn_compat.c12
-rw-r--r--math/w_jnf_compat.c6
6 files changed, 36 insertions, 18 deletions
diff --git a/math/w_j0_compat.c b/math/w_j0_compat.c
index 3df71e0..b08688e 100644
--- a/math/w_j0_compat.c
+++ b/math/w_j0_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j0 */
double
-j0 (double x)
+__j0 (double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ j0 (double x)
return __ieee754_j0 (x);
}
+weak_alias (__j0, j0)
# ifdef NO_LONG_DOUBLE
-weak_alias (j0, j0l)
+strong_alias (__j0, __j0l)
+weak_alias (__j0, j0l)
# endif
/* wrapper y0 */
double
-y0 (double x)
+__y0 (double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ y0 (double x)
return __ieee754_y0 (x);
}
+weak_alias (__y0, y0)
# ifdef NO_LONG_DOUBLE
-weak_alias (y0, y0l)
+strong_alias (__y0, __y0l)
+weak_alias (__y0, y0l)
# endif
#endif
diff --git a/math/w_j0f_compat.c b/math/w_j0f_compat.c
index e9ac74f..0ef4179 100644
--- a/math/w_j0f_compat.c
+++ b/math/w_j0f_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j0f */
float
-j0f (float x)
+__j0f (float x)
{
if (__builtin_expect (isgreater (fabsf (x), (float) X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ j0f (float x)
return __ieee754_j0f (x);
}
+weak_alias (__j0f, j0f)
/* wrapper y0f */
float
-y0f (float x)
+__y0f (float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ y0f (float x)
return __ieee754_y0f (x);
}
+weak_alias (__y0f, y0f)
#endif
diff --git a/math/w_j1_compat.c b/math/w_j1_compat.c
index be788f9..bf0922d 100644
--- a/math/w_j1_compat.c
+++ b/math/w_j1_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j1 */
double
-j1 (double x)
+__j1 (double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ j1 (double x)
return __ieee754_j1 (x);
}
+weak_alias (__j1, j1)
# ifdef NO_LONG_DOUBLE
-weak_alias (j1, j1l)
+strong_alias (__j1, __j1l)
+weak_alias (__j1, j1l)
# endif
/* wrapper y1 */
double
-y1 (double x)
+__y1 (double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ y1 (double x)
return __ieee754_y1 (x);
}
+weak_alias (__y1, y1)
# ifdef NO_LONG_DOUBLE
-weak_alias (y1, y1l)
+strong_alias (__y1, __y1l)
+weak_alias (__y1, y1l)
# endif
#endif
diff --git a/math/w_j1f_compat.c b/math/w_j1f_compat.c
index c3222bb..d44fb12 100644
--- a/math/w_j1f_compat.c
+++ b/math/w_j1f_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j1f */
float
-j1f (float x)
+__j1f (float x)
{
if (__builtin_expect (isgreater (fabsf (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ j1f (float x)
return __ieee754_j1f (x);
}
+weak_alias (__j1f, j1f)
/* wrapper y1f */
float
-y1f (float x)
+__y1f (float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ y1f (float x)
return __ieee754_y1f (x);
}
+weak_alias (__y1f, y1f)
#endif
diff --git a/math/w_jn_compat.c b/math/w_jn_compat.c
index 496c779..955996a 100644
--- a/math/w_jn_compat.c
+++ b/math/w_jn_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper jn */
double
-jn (int n, double x)
+__jn (int n, double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ jn (int n, double x)
return __ieee754_jn (n, x);
}
+weak_alias (__jn, jn)
# ifdef NO_LONG_DOUBLE
-weak_alias (jn, jnl)
+strong_alias (__jn, __jnl)
+weak_alias (__jn, jnl)
# endif
/* wrapper yn */
double
-yn (int n, double x)
+__yn (int n, double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ yn (int n, double x)
return __ieee754_yn (n, x);
}
+weak_alias (__yn, yn)
# ifdef NO_LONG_DOUBLE
-weak_alias (yn, ynl)
+strong_alias (__yn, __ynl)
+weak_alias (__yn, ynl)
# endif
#endif
diff --git a/math/w_jnf_compat.c b/math/w_jnf_compat.c
index 440d53d..b2b4161 100644
--- a/math/w_jnf_compat.c
+++ b/math/w_jnf_compat.c
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper jnf */
float
-jnf (int n, float x)
+__jnf (int n, float x)
{
if (__builtin_expect (isgreater (fabsf (x), (float) X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ jnf (int n, float x)
return __ieee754_jnf (n, x);
}
+weak_alias (__jnf, jnf)
/* wrapper ynf */
float
-ynf (int n, float x)
+__ynf (int n, float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ ynf (int n, float x)
return __ieee754_ynf (n, x);
}
+weak_alias (__ynf, ynf)
#endif