runtime: Comment out code adding TLS size to stack size.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Jun 2012 13:12:13 +0000 (13:12 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 5 Jun 2012 13:12:13 +0000 (13:12 +0000)
From-SVN: r188238

libgo/runtime/proc.c

index 0adecb7b57ea14026ed0710e9992bbb16522b40b..1a605a1921c1dbf4bdf7b07f90f0bf025dcc796d 100644 (file)
@@ -1122,6 +1122,7 @@ runtime_newm(void)
 
        stacksize = PTHREAD_STACK_MIN;
 
+#if 0
 #ifdef HAVE__DL_GET_TLS_STATIC_INFO
        {
                /* On GNU/Linux the static TLS size is taken out of
@@ -1141,6 +1142,7 @@ runtime_newm(void)
                _dl_get_tls_static_info(&tlssize, &tlsalign);
                stacksize += tlssize;
        }
+#endif
 #endif
 
        if(pthread_attr_setstacksize(&attr, stacksize) != 0)