From 497b8ef43fa893f36cd96abfe117e00e2b4854be Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 Jul 2000 18:08:15 +0000 Subject: Update. 2000-07-28 Philip Blundell * math/test-fpucw.c: Ignore reserved bits in control word. 2000-07-28 Philip Blundell * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. (ret): Redefine to PSEUDO_RET. (PSEUDO): Remove jump to syscall_error. 2000-07-29 Mark Kettenis * resolv/README: Add some information about using the resolver in multi-threaded code and with C++. Spelling fixes. 2000-07-29 Mark Kettenis * resolv/resolv.h (struct __sockaddr_in): Remove. (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded. --- math/test-fpucw.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'math/test-fpucw.c') diff --git a/math/test-fpucw.c b/math/test-fpucw.c index a702d17330..0294a42bb5 100644 --- a/math/test-fpucw.c +++ b/math/test-fpucw.c @@ -29,10 +29,13 @@ main (void) _FPU_GETCW (cw); - if (cw != _FPU_DEFAULT) - printf ("control word is 0x%x but should be 0x%x.\n", cw, _FPU_DEFAULT); + cw &= ~_FPU_RESERVED; - return (cw != _FPU_DEFAULT); + if (cw != (_FPU_DEFAULT & ~_FPU_RESERVED)) + printf ("control word is 0x%x but should be 0x%x.\n", + cw, (_FPU_DEFAULT & ~_FPU_RESERVED)); + + return cw != (_FPU_DEFAULT & ~_FPU_RESERVED); #else return 0; -- cgit v1.2.3