summaryrefslogtreecommitdiff
path: root/sysdeps/mips/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/fpu/fegetenv.c')
-rw-r--r--sysdeps/mips/fpu/fegetenv.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/mips/fpu/fegetenv.c b/sysdeps/mips/fpu/fegetenv.c
index de263ca044..d3ba0db76f 100644
--- a/sysdeps/mips/fpu/fegetenv.c
+++ b/sysdeps/mips/fpu/fegetenv.c
@@ -1,7 +1,7 @@
/* Store current floating-point environment.
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
__fegetenv (fenv_t *envp)
@@ -29,6 +30,8 @@ __fegetenv (fenv_t *envp)
/* Success. */
return 0;
}
+#ifdef 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);