summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-05 13:12:13 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-05 13:12:13 +0000
commit9171843b508ecde2be3b04512d969f413901d925 (patch)
treec0ede9fa0776f78b31fbd374bc86e0d80763fee3 /libgo
parentec84182df8bc80357c4f8e3907374b4f8c597088 (diff)
downloadgcc-9171843b508ecde2be3b04512d969f413901d925.tar.gz
runtime: Comment out code adding TLS size to stack size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188238 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-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 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
@@ -1142,6 +1143,7 @@ runtime_newm(void)
stacksize += tlssize;
}
#endif
+#endif
if(pthread_attr_setstacksize(&attr, stacksize) != 0)
runtime_throw("pthread_attr_setstacksize");