glibc/ports/sysdeps/alpha/fpu/e_sqrtf.c
Richard Henderson 385fd0d524 [BZ #15666] alpha: Add __sqrt*_finite definitions
With compatibility for ev6 and non-ev6 builds, as the non-ev6 did
manage to get definitions emitted for the float and double functions.
2013-06-24 18:12:24 -07:00

15 lines
438 B
C

#include <shlib-compat.h>
#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
# define __sqrtf_finite __sqrtf_finite1
#endif
#include <sysdeps/ieee754/flt-32/e_sqrtf.c>
/* Work around forgotten symbol in alphaev6 build. */
#if SHLIB_COMPAT (libm, GLIBC_2_15, GLIBC_2_18)
# undef __sqrtf_finite
compat_symbol (libm, __sqrtf_finite1, __sqrtf_finite, GLIBC_2_15);
versioned_symbol (libm, __ieee754_sqrtf, __sqrtf_finite, GLIBC_2_18);
#endif