--emulated-tls explanation?

Denis Feklushkin feklushkin.denis at gmail.com
Fri Oct 16 07:22:28 UTC 2020

On Thursday, 15 October 2020 at 15:09:45 UTC, IGotD- wrote:
> On Thursday, 15 October 2020 at 01:23:53 UTC, Denis Feklushkin 
> wrote:
>> Looks like this problem is solvable: it is possible to push 
>> through own implementation of (emu)TLS by replacing it in the 
>> linker (--wrap=). Emutls implementation not tied to anything.
> That's the same as implementing your own version so you don't 
> need the TLS emulation at all.

I am not sure, but looks like different arguments for 
__tls_get_addr will be used in case if emulation is enabled and 

If emulation will be used arguments is same as for gcc and these 
args allows you to avoid ELF-related things.

More information about the digitalmars-d-ldc mailing list