aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/feupdateenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/feupdateenv.c')
-rw-r--r--sysdeps/generic/feupdateenv.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/feupdateenv.c b/sysdeps/generic/feupdateenv.c
index 8589646a19..8537e2a1f7 100644
--- a/sysdeps/generic/feupdateenv.c
+++ b/sysdeps/generic/feupdateenv.c
@@ -19,6 +19,7 @@
Boston, MA 02111-1307, USA. */
#include <fenv.h>
+#include <shlib-compat.h>
int
__feupdateenv (const fenv_t *envp)
@@ -26,9 +27,11 @@ __feupdateenv (const fenv_t *envp)
/* This always fails. */
return 1;
}
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__feupdateenv, __old_feupdateenv)
-symbol_version (__old_feupdateenv, feupdateenv, GLIBC_2.1);
-default_symbol_version (__feupdateenv, feupdateenv, GLIBC_2.2);
+compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
+#endif
+versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
stub_warning (feupdateenv)
#include <stub-tag.h>