about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/feholdexcpt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-23 10:13:49 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-23 10:13:49 +0000
commit33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4 (patch)
tree2c861964841fff8f99fae821d12e4522a747e4b9 /sysdeps/i386/fpu/feholdexcpt.c
parent0a51738ed9721654a75f22c0cf016f1df0eb905b (diff)
downloadglibc-33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4.tar.gz
glibc-33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4.tar.xz
glibc-33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4.zip
Update.
1999-05-23  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/alpha/fpu/bits/fenv.h: Pretty print.

	* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.

1999-05-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
	names to protect from user's macro namespace.
	* sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
	* sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
	* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
	Adapted.
	* sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
	sysdeps/arm/fpu/fesetenv.c: Likewise.
	* sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
	sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
	sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
	* sysdeps/mips/fesetenv.c: Likewise.
Diffstat (limited to 'sysdeps/i386/fpu/feholdexcpt.c')
-rw-r--r--sysdeps/i386/fpu/feholdexcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/feholdexcpt.c b/sysdeps/i386/fpu/feholdexcpt.c
index c9a0f73489..f056abb27c 100644
--- a/sysdeps/i386/fpu/feholdexcpt.c
+++ b/sysdeps/i386/fpu/feholdexcpt.c
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -29,7 +29,7 @@ feholdexcept (fenv_t *envp)
   __asm__ ("fnstenv %0" : "=m" (*envp));
 
   /* Now set all exceptions to non-stop.  */
-  work = envp->control_word | 0x3f;
+  work = envp->__control_word | 0x3f;
   __asm__ ("fldcw %0" : : "m" (*&work));
 
   return 1;