diff options
Diffstat (limited to 'sysdeps/sparc/sparc32')
-rw-r--r-- | sysdeps/sparc/sparc32/Versions | 5 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/fpu/e_sqrtl.c | 4 |
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); |