"Iain Buclaw via D.gnu" <d.gnu@puremagic.com> writes: > I hope I'm not shying you away by saying, this is what someone needs > to find out.
No, not at all. I've gotten pretty used to puzzling through TLS implementations for LDC porting. > I'd first suggest to build gcc only and test what is outputted. Use a > test program such as __thread int tls; and a main program that sets > it's value to 0xdeadbeef then build with -S and check if the output > shows calls to emutls like functions. > > GDC already has GC support for emutls, so the interesting part is if > GCC does native tls on osx. Yep, I'll try it.