summary refs log tree commit diff
path: root/sysdeps/powerpc/nofpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-06 08:11:37 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-06 08:11:37 +0000
commitc2630c3abf76d29e8ec5fd2ccb32b43d1cacdf50 (patch)
tree621b289d214efa2f1ca137fece2eb84ef7c5bdbf /sysdeps/powerpc/nofpu
parent844a34a2ae4b493f86ed1e79c5992329b54a5511 (diff)
downloadglibc-c2630c3abf76d29e8ec5fd2ccb32b43d1cacdf50.tar.gz
glibc-c2630c3abf76d29e8ec5fd2ccb32b43d1cacdf50.tar.xz
glibc-c2630c3abf76d29e8ec5fd2ccb32b43d1cacdf50.zip
Update.
2003-12-04  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking
	of fenv.
	* sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
Diffstat (limited to 'sysdeps/powerpc/nofpu')
-rw-r--r--sysdeps/powerpc/nofpu/fgetexcptflg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/nofpu/fgetexcptflg.c b/sysdeps/powerpc/nofpu/fgetexcptflg.c
index 9d4f078d23..713bd92881 100644
--- a/sysdeps/powerpc/nofpu/fgetexcptflg.c
+++ b/sysdeps/powerpc/nofpu/fgetexcptflg.c
@@ -24,7 +24,7 @@
 
 __fegetexceptflag (fexcept_t *flagp, int excepts)
 {
-  *flagp = (fexcept_t) __sim_exceptions;
+  *flagp = (fexcept_t) __sim_exceptions  & excepts & FE_ALL_EXCEPT;
 
   return 0;
 }