[PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm

Sourceware - newlib list mailing list
Signed-off-by: Eshan dhawan <[hidden email]>
---
 newlib/libc/machine/arm/sys/fenv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/newlib/libc/machine/arm/sys/fenv.h b/newlib/libc/machine/arm/sys/fenv.h
index af74c5f47..740995a1a 100644
--- a/newlib/libc/machine/arm/sys/fenv.h
+++ b/newlib/libc/machine/arm/sys/fenv.h
@@ -94,7 +94,7 @@ extern const fenv_t *_fe_dfl_env;
 #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
 #endif
 
-#ifndef __ARM_PCS_VFP
+
 
 int feclearexcept(int excepts);
 int fegetexceptflag(fexcept_t *flagp, int excepts);
@@ -113,7 +113,7 @@ int fedisableexcept(int __mask);
 int fegetexcept(void);
 #endif /* __BSD_VISIBLE */
 
-#endif /* __ARM_PCS_VFP */
+
 
 #ifdef __cplusplus
 }
--
2.17.1

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm

Szabolcs Nagy-2
The 07/04/2020 04:11, Eshan dhawan via Newlib wrote:

> Signed-off-by: Eshan dhawan <[hidden email]>
> ---
>  newlib/libc/machine/arm/sys/fenv.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/newlib/libc/machine/arm/sys/fenv.h b/newlib/libc/machine/arm/sys/fenv.h
> index af74c5f47..740995a1a 100644
> --- a/newlib/libc/machine/arm/sys/fenv.h
> +++ b/newlib/libc/machine/arm/sys/fenv.h
> @@ -94,7 +94,7 @@ extern const fenv_t *_fe_dfl_env;
>  #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
>  #endif
>  
> -#ifndef __ARM_PCS_VFP
> +
>  
>  int feclearexcept(int excepts);
>  int fegetexceptflag(fexcept_t *flagp, int excepts);
> @@ -113,7 +113,7 @@ int fedisableexcept(int __mask);
>  int fegetexcept(void);
>  #endif /* __BSD_VISIBLE */
>  
> -#endif /* __ARM_PCS_VFP */
> +
>  
>  #ifdef __cplusplus
>  }

thanks this fixes the build issue i see.
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Removed #ifndef _ARM_PCS_VFP_ from sys/fenv.h for arm

Sourceware - newlib list mailing list
In reply to this post by Sourceware - newlib list mailing list
On Jul  4 04:11, Eshan dhawan via Newlib wrote:

> Signed-off-by: Eshan dhawan <[hidden email]>
> ---
>  newlib/libc/machine/arm/sys/fenv.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/newlib/libc/machine/arm/sys/fenv.h b/newlib/libc/machine/arm/sys/fenv.h
> index af74c5f47..740995a1a 100644
> --- a/newlib/libc/machine/arm/sys/fenv.h
> +++ b/newlib/libc/machine/arm/sys/fenv.h
> @@ -94,7 +94,7 @@ extern const fenv_t *_fe_dfl_env;
>  #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT)
>  #endif
>  
> -#ifndef __ARM_PCS_VFP
> +
>  
>  int feclearexcept(int excepts);
>  int fegetexceptflag(fexcept_t *flagp, int excepts);
> @@ -113,7 +113,7 @@ int fedisableexcept(int __mask);
>  int fegetexcept(void);
>  #endif /* __BSD_VISIBLE */
>  
> -#endif /* __ARM_PCS_VFP */
> +
>  
>  #ifdef __cplusplus
>  }
> --
> 2.17.1

Pushed


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer
Red Hat