diff options
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c index 417b8690d6..ff3acd4086 100644 --- a/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c +++ b/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c @@ -17,6 +17,8 @@ <http://www.gnu.org/licenses/>. */ #ifdef HAVE_AS_VIS3_SUPPORT +# include <math_ldbl_opt.h> +# include <first-versions.h> # include <sparc-ifunc.h> # include <math.h> @@ -25,6 +27,9 @@ extern double __fdim_generic (double, double); sparc_libm_ifunc(__fdim, hwcap & HWCAP_SPARC_VIS3 ? __fdim_vis3 : __fdim_generic); weak_alias (__fdim, fdim) +# if LONG_DOUBLE_COMPAT (libm, FIRST_VERSION_libm_fdiml) +compat_symbol (libm, __fdim, fdiml, FIRST_VERSION_libm_fdiml); +# endif # define __fdim __fdim_generic # define declare_mgen_alias(t, f) |