summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/arm/crt1.c')
-rw-r--r--lib/csu/arm/crt1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c
index 706aaee..bcee2ca 100644
--- a/lib/csu/arm/crt1.c
+++ b/lib/csu/arm/crt1.c
@@ -116,6 +116,8 @@ __start(int argc, char **argv, char **env,
if (&_DYNAMIC != NULL)
atexit(cleanup);
+ else
+ _init_tls();
#ifdef GCRT
atexit(_mcleanup);
OpenPOWER on IntegriCloud