aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-29 20:58:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-29 20:58:06 +0000
commit1a6d7967ad18d850c034d84ae89cc91dfcfb523a (patch)
treec71ecd00d6b53e602a3cdb75c291569e9c99a53d /sysdeps/sparc
parenta0e5d73a78dde538353c5bfa8d92d619d3800586 (diff)
downloadglibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.zip
glibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.tar.gz
glibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.tar.bz2
Make sparc64 GLIBC_2.2+ only.
2000-06-29 Jakub Jelinek <jakub@redhat.com> * shlib-versions: Make sparc64 GLIBC_2.2+ only.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/fpu/fclrexcpt.c9
-rw-r--r--sysdeps/sparc/fpu/fegetenv.c9
-rw-r--r--sysdeps/sparc/fpu/fesetenv.c9
-rw-r--r--sysdeps/sparc/fpu/feupdateenv.c9
-rw-r--r--sysdeps/sparc/fpu/fgetexcptflg.c9
-rw-r--r--sysdeps/sparc/fpu/fraiseexcpt.c9
-rw-r--r--sysdeps/sparc/fpu/fsetexcptflg.c9
7 files changed, 49 insertions, 14 deletions
diff --git a/sysdeps/sparc/fpu/fclrexcpt.c b/sysdeps/sparc/fpu/fclrexcpt.c
index 647387e..9b10f1b 100644
--- a/sysdeps/sparc/fpu/fclrexcpt.c
+++ b/sysdeps/sparc/fpu/fclrexcpt.c
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <fenv.h>
+#include <shlib-compat.h>
int
__feclearexcept (int excepts)
@@ -33,6 +34,10 @@ __feclearexcept (int excepts)
/* Success. */
return 0;
}
+
+#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);
diff --git a/sysdeps/sparc/fpu/fegetenv.c b/sysdeps/sparc/fpu/fegetenv.c
index 0322717..8dbcd69 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);
diff --git a/sysdeps/sparc/fpu/fesetenv.c b/sysdeps/sparc/fpu/fesetenv.c
index 87dd39c..16ec6fe 100644
--- a/sysdeps/sparc/fpu/fesetenv.c
+++ b/sysdeps/sparc/fpu/fesetenv.c
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <fenv.h>
+#include <shlib-compat.h>
int
__fesetenv (const fenv_t *envp)
@@ -44,6 +45,10 @@ __fesetenv (const fenv_t *envp)
/* Success. */
return 0;
}
+
+#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);
diff --git a/sysdeps/sparc/fpu/feupdateenv.c b/sysdeps/sparc/fpu/feupdateenv.c
index 84e13d0..5ddf5e0 100644
--- a/sysdeps/sparc/fpu/feupdateenv.c
+++ b/sysdeps/sparc/fpu/feupdateenv.c
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <fenv.h>
+#include <shlib-compat.h>
int
__feupdateenv (const fenv_t *envp)
@@ -39,6 +40,10 @@ __feupdateenv (const fenv_t *envp)
/* Success. */
return 0;
}
+
+#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);
diff --git a/sysdeps/sparc/fpu/fgetexcptflg.c b/sysdeps/sparc/fpu/fgetexcptflg.c
index 5466084..89cfc4a 100644
--- a/sysdeps/sparc/fpu/fgetexcptflg.c
+++ b/sysdeps/sparc/fpu/fgetexcptflg.c
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <fenv.h>
+#include <shlib-compat.h>
int
__fegetexceptflag (fexcept_t *flagp, int excepts)
@@ -32,6 +33,10 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
/* Success. */
return 0;
}
+
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__fegetexceptflag, __old_fegetexceptflag)
-symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1);
-default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.2);
+compat_symbol (libm, __old_fegetexceptflag, fegetexceptflag, GLIBC_2_1);
+#endif
+
+versioned_symbol (libm, __fegetexceptflag, fegetexceptflag, GLIBC_2_2);
diff --git a/sysdeps/sparc/fpu/fraiseexcpt.c b/sysdeps/sparc/fpu/fraiseexcpt.c
index 485cfdf..b6c5d80 100644
--- a/sysdeps/sparc/fpu/fraiseexcpt.c
+++ b/sysdeps/sparc/fpu/fraiseexcpt.c
@@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
+#include <shlib-compat.h>
int
__feraiseexcept (int excepts)
@@ -59,6 +60,10 @@ __feraiseexcept (int excepts)
/* Success. */
return 0;
}
+
+#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);
diff --git a/sysdeps/sparc/fpu/fsetexcptflg.c b/sysdeps/sparc/fpu/fsetexcptflg.c
index cc7f6cf..53443c6 100644
--- a/sysdeps/sparc/fpu/fsetexcptflg.c
+++ b/sysdeps/sparc/fpu/fsetexcptflg.c
@@ -19,6 +19,7 @@
#include <fenv.h>
#include <math.h>
+#include <shlib-compat.h>
int
__fesetexceptflag (const fexcept_t *flagp, int excepts)
@@ -35,6 +36,10 @@ __fesetexceptflag (const fexcept_t *flagp, int excepts)
/* Success. */
return 0;
}
+
+#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);