aboutsummaryrefslogtreecommitdiff
path: root/math/w_j1_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_j1_compat.c')
-rw-r--r--math/w_j1_compat.c12
1 files changed, 8 insertions, 4 deletions
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