summary refs log tree commit diff
path: root/sysdeps/sparc/fpu/fsetexcptflg.c
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/fpu/fsetexcptflg.c
parenta0e5d73a78dde538353c5bfa8d92d619d3800586 (diff)
downloadglibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.tar.gz
glibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.tar.xz
glibc-1a6d7967ad18d850c034d84ae89cc91dfcfb523a.zip
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/fpu/fsetexcptflg.c')
-rw-r--r--sysdeps/sparc/fpu/fsetexcptflg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/sparc/fpu/fsetexcptflg.c b/sysdeps/sparc/fpu/fsetexcptflg.c
index cc7f6cf89c..53443c6f29 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);