about summary refs log tree commit diff
path: root/math/w_j1.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2014-12-22 15:24:17 -0500
committerChris Metcalf <cmetcalf@ezchip.com>2014-12-22 15:24:17 -0500
commitb638f96a7607a279d5fd9b14fb49e02fa5151b5f (patch)
treeeb07baecbd8db75f948e2d8eea5109ff5fe68ce0 /math/w_j1.c
parent0dacd7a3b9401f7eb7160cf79231a4573773c5da (diff)
downloadglibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.tar.gz
glibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.tar.xz
glibc-b638f96a7607a279d5fd9b14fb49e02fa5151b5f.zip
Fix namespace conformance issue with Bessel functions.
[BZ #17747]
The y0/y1/yn and j0/j1/jn functions provided a strong_alias
to the "l"-suffixed variants when no long double support is
being compiled.  This breaks namespace conformance when the
basename versions conform but the l-suffixed ones don't.
Fixed by making them weak aliases instead.
Diffstat (limited to 'math/w_j1.c')
-rw-r--r--math/w_j1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_j1.c b/math/w_j1.c
index 1665501f44..37c6d1f4b5 100644
--- a/math/w_j1.c
+++ b/math/w_j1.c
@@ -33,7 +33,7 @@ j1 (double x)
   return __ieee754_j1 (x);
 }
 #ifdef NO_LONG_DOUBLE
-strong_alias (j1, j1l)
+weak_alias (j1, j1l)
 #endif
 
 
@@ -64,5 +64,5 @@ y1 (double x)
   return __ieee754_y1 (x);
 }
 #ifdef NO_LONG_DOUBLE
-strong_alias (y1, y1l)
+weak_alias (y1, y1l)
 #endif