Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 5 Apr 2000 00:29:26 +0000 (00:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 5 Apr 2000 00:29:26 +0000 (00:29 +0000)
2000-04-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.

ChangeLog
sysdeps/generic/fgetexcptflg.c

index 52ad654..85372bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-04  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
+
 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/dl-runtime.c (fixup): Correct handling of symbols marked
index 9982e79..5c01b73 100644 (file)
@@ -19,6 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __fegetexceptflag (fexcept_t *flagp, int excepts)
@@ -26,9 +27,11 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
   /* This always fails.  */
   return 1;
 }
+#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);
 
 stub_warning (fegetexceptflag)
 #include <stub-tag.h>