summaryrefslogtreecommitdiff
path: root/libc/sysdeps/powerpc/nofpu/ftestexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/powerpc/nofpu/ftestexcept.c')
-rw-r--r--libc/sysdeps/powerpc/nofpu/ftestexcept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/powerpc/nofpu/ftestexcept.c b/libc/sysdeps/powerpc/nofpu/ftestexcept.c
index f5d01e881..d9f244e76 100644
--- a/libc/sysdeps/powerpc/nofpu/ftestexcept.c
+++ b/libc/sysdeps/powerpc/nofpu/ftestexcept.c
@@ -1,5 +1,5 @@
/* Test floating-point exceptions (soft-float edition).
- Copyright (C) 2002-2013 Free Software Foundation, Inc.
+ Copyright (C) 2002-2014 Free Software Foundation, Inc.
Contributed by Aldy Hernandez <aldyh@redhat.com>, 2002.
This file is part of the GNU C Library.
@@ -23,6 +23,6 @@
int
fetestexcept (int x)
{
- return __sim_exceptions & x;
+ return __sim_exceptions_thread & x;
}
libm_hidden_def (fetestexcept)