about summary refs log tree commit diff
path: root/sysdeps/mips/fpu/fgetexcptflg.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-03-29 11:18:48 +0000
committerAndreas Jaeger <aj@suse.de>2000-03-29 11:18:48 +0000
commitb4f99a5d4b8049193bfd8ad2682d2dedfdafcde9 (patch)
treeb38431279dfc92c9794e9a87f3bd700973d09b12 /sysdeps/mips/fpu/fgetexcptflg.c
parent300583a7260d3f94f011b241d36a469245c6656f (diff)
downloadglibc-b4f99a5d4b8049193bfd8ad2682d2dedfdafcde9.tar.gz
glibc-b4f99a5d4b8049193bfd8ad2682d2dedfdafcde9.tar.xz
glibc-b4f99a5d4b8049193bfd8ad2682d2dedfdafcde9.zip
2000-03-29 Andreas Jaeger <aj@suse.de>
	* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
	* sysdeps/mips/fpu/fegetenv.c: Likewise.
	* sysdeps/mips/fpu/fesetenv.c: Likewise.
	* sysdeps/mips/fpu/feupdateenv.c: Likewise.
	* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
Diffstat (limited to 'sysdeps/mips/fpu/fgetexcptflg.c')
-rw-r--r--sysdeps/mips/fpu/fgetexcptflg.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/mips/fpu/fgetexcptflg.c b/sysdeps/mips/fpu/fgetexcptflg.c
index 64a2e11e1b..17696dbf41 100644
--- a/sysdeps/mips/fpu/fgetexcptflg.c
+++ b/sysdeps/mips/fpu/fgetexcptflg.c
@@ -1,7 +1,7 @@
 /* Store current representation for exceptions.
    Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
+   Contributed by Andreas Jaeger <aj@suse.de>, 1998.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -20,6 +20,7 @@
 
 #include <fenv.h>
 #include <fpu_control.h>
+#include <shlib-compat.h>
 
 int
 __fegetexceptflag (fexcept_t *flagp, int excepts)
@@ -34,6 +35,8 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
   /* Success.  */
   return 0;
 }
+#ifdef 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);