On 13/03/2012 9:21 AM, Marcel Moolenaar wrote:
On Mar 5, 2012, at 7:42 PM, Oleksandr Tymoshenko wrote:
@@ -308,6 +308,13 @@ _init_tls()
}
}
+#ifdef TLS_VARIANT_I
+ /*
+* tls_static_space should include space for TLS structure
+*/
+ tls_static
On Mar 5, 2012, at 7:42 PM, Oleksandr Tymoshenko wrote:
> @@ -308,6 +308,13 @@ _init_tls()
> }
> }
>
> +#ifdef TLS_VARIANT_I
> + /*
> + * tls_static_space should include space for TLS structure
> + */
> + tls_static_space += TLS_TCB_SIZE;
> +#endif
> +
How d
Author: gonzo
Date: Tue Mar 6 03:42:54 2012
New Revision: 232582
URL: http://svn.freebsd.org/changeset/base/232582
Log:
- Switch ARM and MIPS to TLS Variant I
- Fix TLS allocation for Variant I: both rtld and libc allocators
assume that tls_static_space includes space for TLS structure