about summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/fegetround.c')
-rw-r--r--sysdeps/powerpc/nofpu/fegetround.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/powerpc/nofpu/fegetround.c b/sysdeps/powerpc/nofpu/fegetround.c
index 9de326cc0f..311b2d5749 100644
--- a/sysdeps/powerpc/nofpu/fegetround.c
+++ b/sysdeps/powerpc/nofpu/fegetround.c
@@ -20,10 +20,11 @@
 #include "soft-fp.h"
 #include "soft-supp.h"
 
-#undef fegetround
 int
-fegetround (void)
+__fegetround (void)
 {
   return __sim_round_mode_thread;
 }
-libm_hidden_def (fegetround)
+libm_hidden_def (__fegetround)
+weak_alias (__fegetround, fegetround)
+libm_hidden_weak (fegetround)