diff options
Diffstat (limited to 'sysdeps/sparc/fpu/fegetenv.c')
-rw-r--r-- | sysdeps/sparc/fpu/fegetenv.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/sparc/fpu/fegetenv.c b/sysdeps/sparc/fpu/fegetenv.c index 0322717b1d..8dbcd69435 100644 --- a/sysdeps/sparc/fpu/fegetenv.c +++ b/sysdeps/sparc/fpu/fegetenv.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __fegetenv (fenv_t *envp) @@ -27,6 +28,10 @@ __fegetenv (fenv_t *envp) /* Success. */ return 0; } + +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__fegetenv, __old_fegetenv) -symbol_version (__old_fegetenv, fegetenv, GLIBC_2.1); -default_symbol_version (__fegetenv, fegetenv, GLIBC_2.2); +compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1); +#endif + +versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2); |