mirror of git://gcc.gnu.org/git/gcc.git
runtime: Comment out code adding TLS size to stack size.
From-SVN: r188238
This commit is contained in:
parent
1aedeafec2
commit
9bb40b3b23
|
|
@ -1122,6 +1122,7 @@ runtime_newm(void)
|
||||||
|
|
||||||
stacksize = PTHREAD_STACK_MIN;
|
stacksize = PTHREAD_STACK_MIN;
|
||||||
|
|
||||||
|
#if 0
|
||||||
#ifdef HAVE__DL_GET_TLS_STATIC_INFO
|
#ifdef HAVE__DL_GET_TLS_STATIC_INFO
|
||||||
{
|
{
|
||||||
/* On GNU/Linux the static TLS size is taken out of
|
/* 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);
|
_dl_get_tls_static_info(&tlssize, &tlsalign);
|
||||||
stacksize += tlssize;
|
stacksize += tlssize;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(pthread_attr_setstacksize(&attr, stacksize) != 0)
|
if(pthread_attr_setstacksize(&attr, stacksize) != 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue