Message ID | 20160125.112617.1980346546297775887.davem@davemloft.net |
---|---|
State | New |
Headers | show |
diff --git a/sysdeps/sparc/sparc32/fpu/e_sqrtl.c b/sysdeps/sparc/sparc32/fpu/e_sqrtl.c index 46ad861..b0ce44a 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); diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/Versions b/sysdeps/unix/sysv/linux/sparc/sparc32/Versions index c9a5b3e..a0b9c19 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/Versions +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/Versions @@ -24,3 +24,9 @@ libc { fallocate64; } } + +libm { + GLIBC_2.23 { + __sqrtl_finite; + } +}