summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu/ftestexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/nofpu/ftestexcept.c')
-rw-r--r--sysdeps/powerpc/nofpu/ftestexcept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/nofpu/ftestexcept.c b/sysdeps/powerpc/nofpu/ftestexcept.c
index f5d01e881c..42e861da33 100644
--- a/sysdeps/powerpc/nofpu/ftestexcept.c
+++ b/sysdeps/powerpc/nofpu/ftestexcept.c
@@ -23,6 +23,6 @@
 int
 fetestexcept (int x)
 {
-  return __sim_exceptions & x;
+  return __sim_exceptions_thread & x;
 }
 libm_hidden_def (fetestexcept)