OSDN Git Service

runtime: Comment out code adding TLS size to stack size.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 13:12:38 +0000 (13:12 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jun 2012 13:12:38 +0000 (13:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188239 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/runtime/proc.c

index 0adecb7..1a605a1 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
@@ -1142,6 +1143,7 @@ runtime_newm(void)
                stacksize += tlssize;
        }
 #endif
+#endif
 
        if(pthread_attr_setstacksize(&attr, stacksize) != 0)
                runtime_throw("pthread_attr_setstacksize");