about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetround.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fegetround.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetround.c b/sysdeps/sh/sh4/fpu/fegetround.c
index 639b7c2f7e..f227564846 100644
--- a/sysdeps/sh/sh4/fpu/fegetround.c
+++ b/sysdeps/sh/sh4/fpu/fegetround.c
@@ -21,7 +21,7 @@
 #include <fpu_control.h>
 
 int
-fegetround (void)
+__fegetround (void)
 {
   fpu_control_t cw;
 
@@ -30,4 +30,6 @@ fegetround (void)
 
   return cw & 0x1;
 }
-libm_hidden_def (fegetround)
+libm_hidden_def (__fegetround)
+weak_alias (__fegetround, fegetround)
+libm_hidden_weak (fegetround)