Re: [PATCH, libphobos] Implement GCC emutls in druntime

2019-04-25 Thread Iain Buclaw
On Thu, 25 Apr 2019 at 12:25, Johannes Pfau wrote: > > This adds emulated TLS support to druntime. > The main problem here is that the D garbage collector needs > to be able to scan the TLS memory for pointers, which is not > possible with the current libgcc implementation. > > This therefore reim

[PATCH, libphobos] Implement GCC emutls in druntime

2019-04-25 Thread Johannes Pfau
This adds emulated TLS support to druntime. The main problem here is that the D garbage collector needs to be able to scan the TLS memory for pointers, which is not possible with the current libgcc implementation. This therefore reimplements the libgcc emutls support (__emutls_get_address, ...) in