about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetenv.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fegetenv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetenv.c b/sysdeps/sh/sh4/fpu/fegetenv.c
index 2dc26967f0..c97cfbd6f8 100644
--- a/sysdeps/sh/sh4/fpu/fegetenv.c
+++ b/sysdeps/sh/sh4/fpu/fegetenv.c
@@ -20,7 +20,7 @@
 #include <fpu_control.h>
 
 int
-fegetenv (fenv_t *envp)
+__fegetenv (fenv_t *envp)
 {
   fpu_control_t temp;
   _FPU_GETCW (temp);
@@ -29,4 +29,6 @@ fegetenv (fenv_t *envp)
 
   return 0;
 }
-libm_hidden_def (fegetenv)
+libm_hidden_def (__fegetenv)
+weak_alias (__fegetenv, fegetenv)
+libm_hidden_weak (fegetenv)