diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-05-23 10:13:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-05-23 10:13:49 +0000 |
commit | 33d1a2c5b8fe391db7d99821ef09c55ab45bf5a4 (patch) | |
tree | 2c861964841fff8f99fae821d12e4522a747e4b9 /sysdeps/arm/fpu | |
parent | 0a51738ed9721654a75f22c0cf016f1df0eb905b (diff) | |
download | glibc-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/arm/fpu')
-rw-r--r-- | sysdeps/arm/fpu/bits/fenv.h | 10 | ||||
-rw-r--r-- | sysdeps/arm/fpu/fegetenv.c | 4 | ||||
-rw-r--r-- | sysdeps/arm/fpu/feholdexcpt.c | 4 | ||||
-rw-r--r-- | sysdeps/arm/fpu/fesetenv.c | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/sysdeps/arm/fpu/bits/fenv.h b/sysdeps/arm/fpu/bits/fenv.h index ca06196dda..3c9e2861c7 100644 --- a/sysdeps/arm/fpu/bits/fenv.h +++ b/sysdeps/arm/fpu/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,7 +21,7 @@ #endif /* Define bits representing exceptions in the FPU status word. */ -enum +enum { FE_INVALID = 1, #define FE_INVALID FE_INVALID @@ -34,7 +34,7 @@ enum }; /* Amount to shift by to convert an exception to a mask bit. */ -#define FE_EXCEPT_SHIFT 16 +#define FE_EXCEPT_SHIFT 16 /* All supported exceptions. */ #define FE_ALL_EXCEPT \ @@ -45,12 +45,12 @@ enum #define FE_TONEAREST 0 /* Type representing exception flags. */ -typedef unsigned long fexcept_t; +typedef unsigned long int fexcept_t; /* Type representing floating-point environment. */ typedef struct { - unsigned long cw; + unsigned long int __cw; } fenv_t; diff --git a/sysdeps/arm/fpu/fegetenv.c b/sysdeps/arm/fpu/fegetenv.c index 5b31c5e644..99dc1f0d8c 100644 --- a/sysdeps/arm/fpu/fegetenv.c +++ b/sysdeps/arm/fpu/fegetenv.c @@ -1,5 +1,5 @@ /* Store current floating-point environment. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,5 +25,5 @@ fegetenv (fenv_t *envp) { unsigned long int temp; _FPU_GETCW(temp); - envp->cw = temp; + envp->__cw = temp; } diff --git a/sysdeps/arm/fpu/feholdexcpt.c b/sysdeps/arm/fpu/feholdexcpt.c index 5679ccc243..3faabd90eb 100644 --- a/sysdeps/arm/fpu/feholdexcpt.c +++ b/sysdeps/arm/fpu/feholdexcpt.c @@ -1,5 +1,5 @@ /* Store current floating-point environment and clear exceptions. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ feholdexcept (fenv_t *envp) /* Store the environment. */ _FPU_GETCW(temp); - envp->cw = temp; + envp->__cw = temp; /* Now set all exceptions to non-stop. */ temp &= ~(FE_ALL_EXCEPT << FE_EXCEPT_SHIFT); diff --git a/sysdeps/arm/fpu/fesetenv.c b/sysdeps/arm/fpu/fesetenv.c index b2d3ec5e9f..7f3a434778 100644 --- a/sysdeps/arm/fpu/fesetenv.c +++ b/sysdeps/arm/fpu/fesetenv.c @@ -1,5 +1,5 @@ /* Install given floating-point environment. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,7 +27,7 @@ fesetenv (const fenv_t *envp) _FPU_SETCW(_FPU_DEFAULT); else { - unsigned long temp = envp->cw; + unsigned long temp = envp->__cw; _FPU_SETCW(temp); } } |