about summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu/get-rounding-mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/get-rounding-mode.h')
-rw-r--r--sysdeps/powerpc/nofpu/get-rounding-mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/nofpu/get-rounding-mode.h b/sysdeps/powerpc/nofpu/get-rounding-mode.h
index 20eb81030f..6d327f57c7 100644
--- a/sysdeps/powerpc/nofpu/get-rounding-mode.h
+++ b/sysdeps/powerpc/nofpu/get-rounding-mode.h
@@ -29,7 +29,7 @@
 static inline int
 get_rounding_mode (void)
 {
-  return __sim_round_mode;
+  return __sim_round_mode_thread;
 }
 
 #endif /* get-rounding-mode.h */