public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] arm: Fix include to avoid undefined reference
@ 2020-07-29 15:06 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2020-07-29 15:06 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=ba283d8777b617696342cad1f973e22b03bc7c74

commit ba283d8777b617696342cad1f973e22b03bc7c74
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Wed Jul 29 16:24:13 2020 +0200

    arm: Fix include to avoid undefined reference
    
    ld: libm.a(lib_a-fesetenv.o): in function `fesetenv':
    newlib/libm/machine/arm/fesetenv.c:38: undefined reference to `vmsr_fpscr'
    
    Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>

Diff:
---
 newlib/libm/machine/arm/fesetenv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/newlib/libm/machine/arm/fesetenv.c b/newlib/libm/machine/arm/fesetenv.c
index eb44db3c7..d98235628 100644
--- a/newlib/libm/machine/arm/fesetenv.c
+++ b/newlib/libm/machine/arm/fesetenv.c
@@ -29,7 +29,7 @@
  * $FreeBSD$
  */
 
-#include <fenv.h>
+#include "_fenv.h"
 
 int fesetenv(const fenv_t *envp)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-29 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 15:06 [newlib-cygwin] arm: Fix include to avoid undefined reference Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).