about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-01-25 16:07:15 -0800
committerDavid S. Miller <davem@davemloft.net>2016-01-25 16:07:15 -0800
commit82e5836613e251f7d96b1f7bc91bb33a171a0b4f (patch)
treed95ee16775bc385750ca5a93943355dc23af65e7 /sysdeps/sparc
parent7a18c2a0c1370b23a247366ed4db0644f8f32c75 (diff)
downloadglibc-82e5836613e251f7d96b1f7bc91bb33a171a0b4f.tar.gz
glibc-82e5836613e251f7d96b1f7bc91bb33a171a0b4f.tar.xz
glibc-82e5836613e251f7d96b1f7bc91bb33a171a0b4f.zip
Define __sqrtl_finite on sparc 32-bit with correct symbol version.
	* sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for __sqrtl_finite.
	* sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define instead using
	versioned_symbol.
	* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering of entries.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/Versions5
-rw-r--r--sysdeps/sparc/sparc32/fpu/e_sqrtl.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc32/Versions b/sysdeps/sparc/sparc32/Versions
index aa36082e9e..6d3bfe880e 100644
--- a/sysdeps/sparc/sparc32/Versions
+++ b/sysdeps/sparc/sparc32/Versions
@@ -3,3 +3,8 @@ libc {
     .div; .mul; .rem; .udiv; .umul; .urem;
   }
 }
+libm {
+  GLIBC_2.23 {
+    __sqrtl_finite;
+  }
+}
diff --git a/sysdeps/sparc/sparc32/fpu/e_sqrtl.c b/sysdeps/sparc/sparc32/fpu/e_sqrtl.c
index 46ad8613b1..b0ce44a579 100644
--- a/sysdeps/sparc/sparc32/fpu/e_sqrtl.c
+++ b/sysdeps/sparc/sparc32/fpu/e_sqrtl.c
@@ -25,4 +25,6 @@ __ieee754_sqrtl (long double x)
 {
   return _Q_sqrt (x);
 }
-strong_alias (__ieee754_sqrtl, __sqrtl_finite)
+
+#include <shlib-compat.h>
+versioned_symbol (libm, __ieee754_sqrtl, __sqrtl_finite, GLIBC_2_23);