about summary refs log tree commit diff
path: root/sysdeps/ia64/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/fpu/fegetenv.c')
-rw-r--r--sysdeps/ia64/fpu/fegetenv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/ia64/fpu/fegetenv.c b/sysdeps/ia64/fpu/fegetenv.c
index d337dda0c2..8d46e23151 100644
--- a/sysdeps/ia64/fpu/fegetenv.c
+++ b/sysdeps/ia64/fpu/fegetenv.c
@@ -20,10 +20,12 @@
 #include <fenv.h>
 
 int
-fegetenv (fenv_t *envp)
+__fegetenv (fenv_t *envp)
 {
   __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (*envp));
 
   return 0;
 }
-libm_hidden_def (fegetenv)
+libm_hidden_def (__fegetenv)
+weak_alias (__fegetenv, fegetenv)
+libm_hidden_weak (fegetenv)