i386/fenv.c: Include fenv.c implementation shared with x86_64, not stub

Message ID 1583852624-25063-2-git-send-email-joel@rtems.org
State Accepted
Commit 91a8d0c90767f82202e08ba7e3fd6b4e1419ec00
Headers show
Series
  • i386/fenv.c: Include fenv.c implementation shared with x86_64, not stub
Related show

Commit Message

Joel Sherrill March 10, 2020, 3:03 p.m.
---
 newlib/libm/machine/i386/fenv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.8.3.1

Comments

Corinna Vinschen March 10, 2020, 3:06 p.m. | #1
On Mar 10 10:03, Joel Sherrill wrote:
> ---

>  newlib/libm/machine/i386/fenv.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/newlib/libm/machine/i386/fenv.c b/newlib/libm/machine/i386/fenv.c

> index 8cbee77..1a97f56 100644

> --- a/newlib/libm/machine/i386/fenv.c

> +++ b/newlib/libm/machine/i386/fenv.c

> @@ -4,4 +4,4 @@

>   * (c) Copyright 2019 Joel Sherrill <joel@rtems.org>

>   */

>  

> -#include "../../fenv/fenv_stub.c"

> +#include "../x86_64/fenv.c"

> -- 

> 1.8.3.1


Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Patch

diff --git a/newlib/libm/machine/i386/fenv.c b/newlib/libm/machine/i386/fenv.c
index 8cbee77..1a97f56 100644
--- a/newlib/libm/machine/i386/fenv.c
+++ b/newlib/libm/machine/i386/fenv.c
@@ -4,4 +4,4 @@ 
  * (c) Copyright 2019 Joel Sherrill <joel@rtems.org>
  */
 
-#include "../../fenv/fenv_stub.c"
+#include "../x86_64/fenv.c"