public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Sebastian Huber <sh@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] arm: Fix include to avoid undefined reference
Date: Wed, 29 Jul 2020 15:06:03 +0000 (GMT)	[thread overview]
Message-ID: <20200729150603.0F3C9387086D@sourceware.org> (raw)

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)
 {


                 reply	other threads:[~2020-07-29 15:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200729150603.0F3C9387086D@sourceware.org \
    --to=sh@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).