Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-12-05 10:22:51 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-12-05 18:43:17 +0300
commitdf2ea99a50e7c38e750a8ec6df5a119bdbf59541 (patch)
tree35e0983a315867e4844e6ecfa58fe9df34fed049 /newlib/libc/sys/rtems
parentf0ae353a4fe00d3a33fdebaedc28ebac685463ad (diff)
Add missing crt0 symbols for RTEMS
In order to enable proper detection of thread-local storage availability we have to provide some symbols on ARM. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r--newlib/libc/sys/rtems/crt0.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/crt0.c b/newlib/libc/sys/rtems/crt0.c
index 1a0a055c6..769cde7db 100644
--- a/newlib/libc/sys/rtems/crt0.c
+++ b/newlib/libc/sys/rtems/crt0.c
@@ -188,6 +188,11 @@ RTEMS_STUB(_VOID, _free_r(struct _reent *r, _PTR *p), { })
/* stubs for functions required by libc/stdlib */
RTEMS_STUB(void, __assert_func(const char *file, int line, const char *failedexpr), { })
+#if defined(__arm__)
+RTEMS_STUB(void, __aeabi_read_tp(void), { })
+RTEMS_STUB(void *, __tls_get_addr(const void *ti), { })
+#endif
+
/* The PowerPC expects certain symbols to be defined in the linker script. */
#if defined(__PPC__)