Commit 9bb40b3b by Ian Lance Taylor

runtime: Comment out code adding TLS size to stack size.

From-SVN: r188238
parent 1aedeafe
...@@ -1122,6 +1122,7 @@ runtime_newm(void) ...@@ -1122,6 +1122,7 @@ runtime_newm(void)
stacksize = PTHREAD_STACK_MIN; stacksize = PTHREAD_STACK_MIN;
#if 0
#ifdef HAVE__DL_GET_TLS_STATIC_INFO #ifdef HAVE__DL_GET_TLS_STATIC_INFO
{ {
/* On GNU/Linux the static TLS size is taken out of /* On GNU/Linux the static TLS size is taken out of
...@@ -1142,6 +1143,7 @@ runtime_newm(void) ...@@ -1142,6 +1143,7 @@ runtime_newm(void)
stacksize += tlssize; stacksize += tlssize;
} }
#endif #endif
#endif
if(pthread_attr_setstacksize(&attr, stacksize) != 0) if(pthread_attr_setstacksize(&attr, stacksize) != 0)
runtime_throw("pthread_attr_setstacksize"); runtime_throw("pthread_attr_setstacksize");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment