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] RTEMS: Add __m68k_read_tp() to crt0.c
Date: Mon, 24 Apr 2023 08:25:19 +0000 (GMT)	[thread overview]
Message-ID: <20230424082519.D93C83858D3C@sourceware.org> (raw)

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

commit fd26d4b4b6bc84af57caeef81f913707b5d9c0d2
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Mon Apr 24 10:20:59 2023 +0200

    RTEMS: Add __m68k_read_tp() to crt0.c
    
    This is required to build libgomp.

Diff:
---
 newlib/libc/sys/rtems/crt0.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index 3b131d9c4..67f9d7302 100644
--- a/newlib/libc/sys/rtems/crt0.c
+++ b/newlib/libc/sys/rtems/crt0.c
@@ -230,3 +230,7 @@ int __EH_FRAME_BEGIN__;
  */
 const char* __stack ;
 #endif
+
+#if defined(__m68k__)
+RTEMS_STUB(void, __m68k_read_tp(void), { })
+#endif

                 reply	other threads:[~2023-04-24  8:25 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=20230424082519.D93C83858D3C@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).