From 9bb40b3b235f2d31f70f09b38d98fd77946004b6 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 5 Jun 2012 13:12:13 +0000 Subject: [PATCH] runtime: Comment out code adding TLS size to stack size. From-SVN: r188238 --- libgo/runtime/proc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 0adecb7b57e..1a605a1921c 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -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) -- 2.30.2