On 7 dec 2011, at 23:49, Sean Kelly wrote: > On Dec 3, 2011, at 2:37 PM, Jacob Carlborg wrote: >> >> Sean mentioned that TLS is supported natively in Mac OS X Lion. I've >> downloaded the source code for dyld, the release that ships with Lion and it >> seems to be correct. There's a function called "tlv_get_addr" that seems to >> be doing the same as "__tls_get_addr" does on Linux. It looks a bit >> different from the ELF implementation, different function names and similar, >> but it seems to be doing the same thing. > > The implementation is different from ELF. I don't know how this was > implemented at a code level but I do know a bit about where stuff lives and > how to get at it. The bigger issue to me is whether we compile different > versions of TLS for 10.7 and 10.6 or if we want to stick with what we've got > until 10.8 is released.
I guess that means to drop the support for 10.6 when 10.6 is released. It starts to get a bit annoying to only be able to support one version back. -- /Jacob Carlborg _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
