From b610dc849a5486fecfd7cb85dca1083c9cacc963 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 31 Oct 2006 17:20:42 +0000 Subject: [PATCH] * sysdeps/arm/eabi/fclrexcpt.c: Include instead of . Use HWCAP_ARM_VFP instead of HWCAP_VFP. * sysdeps/arm/eabi/fedisblxcpt.c: Likewise. * sysdeps/arm/eabi/feenablxcpt.c: Likewise. * sysdeps/arm/eabi/fegetenv.c: Likewise. * sysdeps/arm/eabi/fegetexcept.c: Likewise. * sysdeps/arm/eabi/fegetround.c: Likewise. * sysdeps/arm/eabi/feholdexcpt.c: Likewise. * sysdeps/arm/eabi/fesetenv.c: Likewise. * sysdeps/arm/eabi/fesetround.c: Likewise. * sysdeps/arm/eabi/fraiseexcpt.c: Likewise. * sysdeps/arm/eabi/fsetexcptflg.c: Likewise. * sysdeps/arm/eabi/ftestexcept.c: Likewise. * sysdeps/arm/eabi/setfpucw.c: Likewise. --- ChangeLog.arm | 17 +++++++++++++++++ sysdeps/arm/eabi/fclrexcpt.c | 4 ++-- sysdeps/arm/eabi/fedisblxcpt.c | 4 ++-- sysdeps/arm/eabi/feenablxcpt.c | 4 ++-- sysdeps/arm/eabi/fegetenv.c | 4 ++-- sysdeps/arm/eabi/fegetexcept.c | 4 ++-- sysdeps/arm/eabi/fegetround.c | 4 ++-- sysdeps/arm/eabi/feholdexcpt.c | 4 ++-- sysdeps/arm/eabi/fesetenv.c | 4 ++-- sysdeps/arm/eabi/fesetround.c | 4 ++-- sysdeps/arm/eabi/fraiseexcpt.c | 4 ++-- sysdeps/arm/eabi/fsetexcptflg.c | 4 ++-- sysdeps/arm/eabi/ftestexcept.c | 4 ++-- sysdeps/arm/eabi/setfpucw.c | 4 ++-- 14 files changed, 43 insertions(+), 26 deletions(-) diff --git a/ChangeLog.arm b/ChangeLog.arm index bff4409..ec5f05e 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,20 @@ +2006-10-31 Joseph S. Myers + + * sysdeps/arm/eabi/fclrexcpt.c: Include instead of + . Use HWCAP_ARM_VFP instead of HWCAP_VFP. + * sysdeps/arm/eabi/fedisblxcpt.c: Likewise. + * sysdeps/arm/eabi/feenablxcpt.c: Likewise. + * sysdeps/arm/eabi/fegetenv.c: Likewise. + * sysdeps/arm/eabi/fegetexcept.c: Likewise. + * sysdeps/arm/eabi/fegetround.c: Likewise. + * sysdeps/arm/eabi/feholdexcpt.c: Likewise. + * sysdeps/arm/eabi/fesetenv.c: Likewise. + * sysdeps/arm/eabi/fesetround.c: Likewise. + * sysdeps/arm/eabi/fraiseexcpt.c: Likewise. + * sysdeps/arm/eabi/fsetexcptflg.c: Likewise. + * sysdeps/arm/eabi/ftestexcept.c: Likewise. + * sysdeps/arm/eabi/setfpucw.c: Likewise. + 2006-10-31 Joseph Myers * sysdeps/unix/sysv/linux/arm/bits/fcntl.h (splice): Update diff --git a/sysdeps/arm/eabi/fclrexcpt.c b/sysdeps/arm/eabi/fclrexcpt.c index 6e5d242..8287dc6 100644 --- a/sysdeps/arm/eabi/fclrexcpt.c +++ b/sysdeps/arm/eabi/fclrexcpt.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int __feclearexcept (int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long int temp; diff --git a/sysdeps/arm/eabi/fedisblxcpt.c b/sysdeps/arm/eabi/fedisblxcpt.c index 414d34b..ab6fe79 100644 --- a/sysdeps/arm/eabi/fedisblxcpt.c +++ b/sysdeps/arm/eabi/fedisblxcpt.c @@ -24,12 +24,12 @@ #include #include #include -#include +#include int fedisableexcept (int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long int new_exc, old_exc; diff --git a/sysdeps/arm/eabi/feenablxcpt.c b/sysdeps/arm/eabi/feenablxcpt.c index e104bc4..f12b453 100644 --- a/sysdeps/arm/eabi/feenablxcpt.c +++ b/sysdeps/arm/eabi/feenablxcpt.c @@ -24,12 +24,12 @@ #include #include #include -#include +#include int feenableexcept (int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long int new_exc, old_exc; diff --git a/sysdeps/arm/eabi/fegetenv.c b/sysdeps/arm/eabi/fegetenv.c index 178d22a..35bfac8 100644 --- a/sysdeps/arm/eabi/fegetenv.c +++ b/sysdeps/arm/eabi/fegetenv.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int __fegetenv (fenv_t *envp) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long int temp; _FPU_GETCW (temp); diff --git a/sysdeps/arm/eabi/fegetexcept.c b/sysdeps/arm/eabi/fegetexcept.c index 811c8ae..8e29ff7 100644 --- a/sysdeps/arm/eabi/fegetexcept.c +++ b/sysdeps/arm/eabi/fegetexcept.c @@ -24,12 +24,12 @@ #include #include #include -#include +#include int fegetexcept (void) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long temp; diff --git a/sysdeps/arm/eabi/fegetround.c b/sysdeps/arm/eabi/fegetround.c index 1c4be04..6a3442a 100644 --- a/sysdeps/arm/eabi/fegetround.c +++ b/sysdeps/arm/eabi/fegetround.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int fegetround (void) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned int temp; diff --git a/sysdeps/arm/eabi/feholdexcpt.c b/sysdeps/arm/eabi/feholdexcpt.c index 9872ea1..33c88e7 100644 --- a/sysdeps/arm/eabi/feholdexcpt.c +++ b/sysdeps/arm/eabi/feholdexcpt.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int feholdexcept (fenv_t *envp) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned long int temp; diff --git a/sysdeps/arm/eabi/fesetenv.c b/sysdeps/arm/eabi/fesetenv.c index bf25384..c47aa65 100644 --- a/sysdeps/arm/eabi/fesetenv.c +++ b/sysdeps/arm/eabi/fesetenv.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int __fesetenv (const fenv_t *envp) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { unsigned int temp; diff --git a/sysdeps/arm/eabi/fesetround.c b/sysdeps/arm/eabi/fesetround.c index f6e20cb..5523522 100644 --- a/sysdeps/arm/eabi/fesetround.c +++ b/sysdeps/arm/eabi/fesetround.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int fesetround (int round) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { fpu_control_t temp; diff --git a/sysdeps/arm/eabi/fraiseexcpt.c b/sysdeps/arm/eabi/fraiseexcpt.c index c0ab419..53ccd9d 100644 --- a/sysdeps/arm/eabi/fraiseexcpt.c +++ b/sysdeps/arm/eabi/fraiseexcpt.c @@ -24,12 +24,12 @@ #include #include #include -#include +#include int feraiseexcept (int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { int fpscr; const float fp_zero = 0.0, fp_one = 1.0, fp_max = FLT_MAX, diff --git a/sysdeps/arm/eabi/fsetexcptflg.c b/sysdeps/arm/eabi/fsetexcptflg.c index e76d746..2e05514 100644 --- a/sysdeps/arm/eabi/fsetexcptflg.c +++ b/sysdeps/arm/eabi/fsetexcptflg.c @@ -24,12 +24,12 @@ #include #include #include -#include +#include int __fesetexceptflag (const fexcept_t *flagp, int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { fexcept_t temp; diff --git a/sysdeps/arm/eabi/ftestexcept.c b/sysdeps/arm/eabi/ftestexcept.c index 230ccbd..846bb01 100644 --- a/sysdeps/arm/eabi/ftestexcept.c +++ b/sysdeps/arm/eabi/ftestexcept.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include int fetestexcept (int excepts) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { fexcept_t temp; diff --git a/sysdeps/arm/eabi/setfpucw.c b/sysdeps/arm/eabi/setfpucw.c index 2bd1f55..cd680df 100644 --- a/sysdeps/arm/eabi/setfpucw.c +++ b/sysdeps/arm/eabi/setfpucw.c @@ -23,12 +23,12 @@ #include #include #include -#include +#include void __setfpucw (fpu_control_t set) { - if (GLRO (dl_hwcap) & HWCAP_VFP) + if (GLRO (dl_hwcap) & HWCAP_ARM_VFP) { fpu_control_t cw; -- 2.7.4