--emulated-tls explanation?

Denis Feklushkin feklushkin.denis at gmail.com
Tue Oct 13 11:27:45 UTC 2020

On Tuesday, 13 October 2020 at 11:23:23 UTC, IGotD- wrote:
> On Tuesday, 13 October 2020 at 11:13:16 UTC, Denis Feklushkin 
> wrote:
>> But it is still not clear why static variables are now not 
>> "superimposed" on one another at the same addresses.
> If you don't have emulated TLS, your build shouldn't even 
> succeed if you haven't implemented __tls_get_address. So if you 
> have a build that you can test, where does this 
> __tls_get_address come from?

It is provided by "picolibc" library.

Actually it provides __aeabi_read_tp but I wrap it:

More information about the digitalmars-d-ldc mailing list