aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-04-24 10:20:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-04-24 10:21:42 +0200
commitfd26d4b4b6bc84af57caeef81f913707b5d9c0d2 (patch)
tree551e638e86b25b369d007fa69012fd18f4d93506 /newlib
parentda40bd6eaf400e102fca68cbe170465a4af6d49c (diff)
downloadnewlib-fd26d4b4b6bc84af57caeef81f913707b5d9c0d2.zip
newlib-fd26d4b4b6bc84af57caeef81f913707b5d9c0d2.tar.gz
newlib-fd26d4b4b6bc84af57caeef81f913707b5d9c0d2.tar.bz2
RTEMS: Add __m68k_read_tp() to crt0.c
This is required to build libgomp.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/sys/rtems/crt0.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index 3b131d9..67f9d73 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