From: Ulrich Drepper Date: Wed, 25 Apr 2001 18:29:10 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~23145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69d8605e847999157ed38fdecc49dffb826cdd2a;p=external%2Fglibc.git Update. 2001-04-12 Paul Bame * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the enable flags. --- diff --git a/ChangeLog b/ChangeLog index c2b2d81..12890ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-12 Paul Bame + + * sysdeps/hppa/fpu/fclrexcpt.c: Clear the exception flags, not the + enable flags. + 2001-04-24 Ulrich Drepper * sysdeps/generic/bits/environments.h (_POSIX_V6_LPBIG_OFFBIG, diff --git a/sysdeps/hppa/fpu/fclrexcpt.c b/sysdeps/hppa/fpu/fclrexcpt.c index 4c64027..e8049e6 100644 --- a/sysdeps/hppa/fpu/fclrexcpt.c +++ b/sysdeps/hppa/fpu/fclrexcpt.c @@ -29,7 +29,7 @@ feclearexcept (int excepts) __asm__ ("fstd %%fr0,0(%1)" : "=m" (*sw) : "r" (sw)); /* Clear all the relevant bits. */ - sw[0] &= ~(excepts & FE_ALL_EXCEPT); + sw[0] &= ~(excepts & FE_ALL_EXCEPT) << 27; __asm__ ("fldd 0(%0),%%fr0" : : "r" (sw)); /* Success. */