Blame SOURCES/glibc-rh1302086-8.patch

147e83
commit 0b4366bc9bca9be8a2208455545c138bcd1e826c
147e83
Author: Wilco <wdijkstr@arm.com>
147e83
Date:   Tue Jun 3 08:08:36 2014 +0000
147e83
147e83
    [AArch64] Cleanup declarations in math_private.h.
147e83
147e83
diff --git a/ports/sysdeps/aarch64/fpu/math_private.h b/ports/sysdeps/aarch64/fpu/math_private.h
147e83
index 7424952..a3f466b 100644
147e83
--- a/ports/sysdeps/aarch64/fpu/math_private.h
147e83
+++ b/ports/sysdeps/aarch64/fpu/math_private.h
147e83
@@ -25,7 +25,10 @@
147e83
 static __always_inline void
147e83
 libc_feholdexcept_aarch64 (fenv_t *envp)
147e83
 {
147e83
-  fpu_control_t fpcr, new_fpcr, fpsr, new_fpsr;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_control_t new_fpcr;
147e83
+  fpu_fpsr_t fpsr;
147e83
+  fpu_fpsr_t new_fpsr;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
   _FPU_GETFPSR (fpsr);
147e83
@@ -69,7 +72,10 @@ libc_fesetround_aarch64 (int round)
147e83
 static __always_inline void
147e83
 libc_feholdexcept_setround_aarch64 (fenv_t *envp, int round)
147e83
 {
147e83
-  fpu_control_t fpcr, new_fpcr, fpsr, new_fpsr;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_control_t new_fpcr;
147e83
+  fpu_fpsr_t fpsr;
147e83
+  fpu_fpsr_t new_fpsr;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
   _FPU_GETFPSR (fpsr);
147e83
@@ -96,7 +102,7 @@ libc_feholdexcept_setround_aarch64 (fenv_t *envp, int round)
147e83
 static __always_inline int
147e83
 libc_fetestexcept_aarch64 (int ex)
147e83
 {
147e83
-  fpu_control_t fpsr;
147e83
+  fpu_fpsr_t fpsr;
147e83
 
147e83
   _FPU_GETFPSR (fpsr);
147e83
   return fpsr & ex & FE_ALL_EXCEPT;
147e83
@@ -109,7 +115,8 @@ libc_fetestexcept_aarch64 (int ex)
147e83
 static __always_inline void
147e83
 libc_fesetenv_aarch64 (const fenv_t *envp)
147e83
 {
147e83
-  fpu_control_t fpcr, new_fpcr;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_control_t new_fpcr;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
   new_fpcr = envp->__fpcr;
147e83
@@ -130,7 +137,10 @@ libc_fesetenv_aarch64 (const fenv_t *envp)
147e83
 static __always_inline int
147e83
 libc_feupdateenv_test_aarch64 (const fenv_t *envp, int ex)
147e83
 {
147e83
-  fpu_control_t fpcr, new_fpcr, fpsr, new_fpsr;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_control_t new_fpcr;
147e83
+  fpu_fpsr_t fpsr;
147e83
+  fpu_fpsr_t new_fpsr;
147e83
   int excepts;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
@@ -171,7 +181,8 @@ libc_feupdateenv_aarch64 (const fenv_t *envp)
147e83
 static __always_inline void
147e83
 libc_feholdsetround_aarch64 (fenv_t *envp, int round)
147e83
 {
147e83
-  fpu_control_t fpcr, fpsr;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_fpsr_t fpsr;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
   _FPU_GETFPSR (fpsr);
147e83
@@ -193,7 +204,8 @@ libc_feholdsetround_aarch64 (fenv_t *envp, int round)
147e83
 static __always_inline void
147e83
 libc_feresetround_aarch64 (fenv_t *envp)
147e83
 {
147e83
-  fpu_control_t fpcr, round;
147e83
+  fpu_control_t fpcr;
147e83
+  int round;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
 
147e83
@@ -215,7 +227,9 @@ libc_feresetround_aarch64 (fenv_t *envp)
147e83
 static __always_inline void
147e83
 libc_feholdsetround_aarch64_ctx (struct rm_ctx *ctx, int r)
147e83
 {
147e83
-  fpu_control_t fpcr, fpsr, round;
147e83
+  fpu_control_t fpcr;
147e83
+  fpu_fpsr_t fpsr;
147e83
+  int round;
147e83
 
147e83
   _FPU_GETCW (fpcr);
147e83
   _FPU_GETFPSR (fpsr);