aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-06-05 13:12:13 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-06-05 13:12:13 +0000
commit9bb40b3b235f2d31f70f09b38d98fd77946004b6 (patch)
treec0ede9fa0776f78b31fbd374bc86e0d80763fee3
parent1aedeafec2f661a62da75cf0af9f366f4b2ce708 (diff)
downloadgcc-9bb40b3b235f2d31f70f09b38d98fd77946004b6.zip
gcc-9bb40b3b235f2d31f70f09b38d98fd77946004b6.tar.gz
gcc-9bb40b3b235f2d31f70f09b38d98fd77946004b6.tar.bz2
runtime: Comment out code adding TLS size to stack size.
From-SVN: r188238
-rw-r--r--libgo/runtime/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 0adecb7..1a605a1 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
@@ -1142,6 +1143,7 @@ runtime_newm(void)
stacksize += tlssize;
}
#endif
+#endif
if(pthread_attr_setstacksize(&attr, stacksize) != 0)
runtime_throw("pthread_attr_setstacksize");