Re: Supporting emulated tls

2012-03-18 Thread Jacob Carlborg
On 2012-03-18 19:39, Johannes Pfau wrote: You mean getting rid of __tls_beg and __tls_end? I'd also like to remove those, but: __tls_beg and __tls_end is not used by Mac OS X any more: https://github.com/D-Programming-Language/druntime/commit/73cf2c150665cb17d9365a6e3d6cf144d76312d6 https://

Re: Supporting emulated tls

2012-03-18 Thread Jacob Carlborg
On 2012-03-18 12:32, Johannes Pfau wrote: I thought about supporting emulated tls a little. The GCC emutls.c implementation currently can't work with the gc, as every TLS variable is allocated individually and therefore we don't have a contiguous memory region for the gc. I think these are the po

Re: Supporting emulated tls

2012-03-18 Thread Johannes Pfau
Am Sun, 18 Mar 2012 12:21:51 + schrieb Iain Buclaw : > On 18 March 2012 11:32, Johannes Pfau wrote: > > I thought about supporting emulated tls a little. The GCC emutls.c > > implementation currently can't work with the gc, as every TLS > > variable is allocated individually and therefore we

Re: Supporting emulated tls

2012-03-18 Thread Alex Rønne Petersen
On 18-03-2012 12:32, Johannes Pfau wrote: I thought about supporting emulated tls a little. The GCC emutls.c implementation currently can't work with the gc, as every TLS variable is allocated individually and therefore we don't have a contiguous memory region for the gc. I think these are the po

Re: Supporting emulated tls

2012-03-18 Thread Iain Buclaw
On 18 March 2012 11:32, Johannes Pfau wrote: > I thought about supporting emulated tls a little. The GCC emutls.c > implementation currently can't work with the gc, as every TLS variable > is allocated individually and therefore we don't have a contiguous > memory region for the gc. I think these

Supporting emulated tls

2012-03-18 Thread Johannes Pfau
I thought about supporting emulated tls a little. The GCC emutls.c implementation currently can't work with the gc, as every TLS variable is allocated individually and therefore we don't have a contiguous memory region for the gc. I think these are the possible solutions: * Try to fix GCCs emutls