diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/fclrexcpt.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/fegetenv.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/fesetenv.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/feupdateenv.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/fraiseexcpt.c | 7 | ||||
-rw-r--r-- | sysdeps/generic/fsetexcptflg.c | 7 |
6 files changed, 30 insertions, 12 deletions
diff --git a/sysdeps/generic/fclrexcpt.c b/sysdeps/generic/fclrexcpt.c index db5c566a00..b143168593 100644 --- a/sysdeps/generic/fclrexcpt.c +++ b/sysdeps/generic/fclrexcpt.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __feclearexcept (int excepts) @@ -26,9 +27,11 @@ __feclearexcept (int excepts) /* This always fails. */ return 1; } +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__feclearexcept, __old_feclearexcept) -symbol_version (__old_feclearexcept, feclearexcept, GLIBC_2.1); -default_symbol_version (__feclearexcept, feclearexcept, GLIBC_2.2); +compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1); +#endif +versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); stub_warning (feclearexcept) #include <stub-tag.h> diff --git a/sysdeps/generic/fegetenv.c b/sysdeps/generic/fegetenv.c index 3d0576339d..4b30754249 100644 --- a/sysdeps/generic/fegetenv.c +++ b/sysdeps/generic/fegetenv.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int fegetenv (fenv_t *envp) @@ -26,9 +27,11 @@ fegetenv (fenv_t *envp) /* This always fails. */ return 1; } +#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); stub_warning (fegetenv) #include <stub-tag.h> diff --git a/sysdeps/generic/fesetenv.c b/sysdeps/generic/fesetenv.c index a9bbb0a417..ce5916aa13 100644 --- a/sysdeps/generic/fesetenv.c +++ b/sysdeps/generic/fesetenv.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __fesetenv (const fenv_t *envp) @@ -26,9 +27,11 @@ __fesetenv (const fenv_t *envp) /* This always fails. */ return 1; } +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__fesetenv, __old_fesetenv) -symbol_version (__old_fesetenv, fesetenv, GLIBC_2.1); -default_symbol_version (__fesetenv, fesetenv, GLIBC_2.2); +compat_symbol (libm, __old_fesetenv, fesetenv, GLIBC_2_1); +#endif +versioned_symbol (libm, __fesetenv, fesetenv, GLIBC_2_2); stub_warning (fesetenv) #include <stub-tag.h> 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> diff --git a/sysdeps/generic/fraiseexcpt.c b/sysdeps/generic/fraiseexcpt.c index f4836117f6..283206ee9c 100644 --- a/sysdeps/generic/fraiseexcpt.c +++ b/sysdeps/generic/fraiseexcpt.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __feraiseexcept (int excepts) @@ -26,9 +27,11 @@ __feraiseexcept (int excepts) /* This always fails. */ return 1; } +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__feraiseexcept, __old_feraiseexcept) -symbol_version (__old_feraiseexcept, feraiseexcept, GLIBC_2.1); -default_symbol_version (__feraiseexcept, feraiseexcept, GLIBC_2.2); +compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1); +#endif +versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2); stub_warning (feraiseexcept) #include <stub-tag.h> diff --git a/sysdeps/generic/fsetexcptflg.c b/sysdeps/generic/fsetexcptflg.c index 1274301081..b2a98b3747 100644 --- a/sysdeps/generic/fsetexcptflg.c +++ b/sysdeps/generic/fsetexcptflg.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv.h> +#include <shlib-compat.h> int __fesetexceptflag (const fexcept_t *flagp, int excepts) @@ -26,9 +27,11 @@ __fesetexceptflag (const fexcept_t *flagp, int excepts) /* This always fails. */ return 1; } +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__fesetexceptflag, __old_fesetexceptflag) -symbol_version (__old_fesetexceptflag, fesetexceptflag, GLIBC_2.1); -default_symbol_version (__fesetexceptflag, fesetexceptflag, GLIBC_2.2); +compat_symbol (libm, __old_fesetexceptflag, fesetexceptflag, GLIBC_2_1); +#endif +versioned_symbol (libm, __fesetexceptflag, fesetexceptflag, GLIBC_2_2); stub_warning (fesetexceptflag) #include <stub-tag.h> |