mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 15:54:17 +08:00
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;
|
||||
|
||||
#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)
|
||||
|
Loading…
Reference in New Issue
Block a user