Re: Emulated TLS for clang

2017-05-09 Thread Marc Espie
On Sun, May 07, 2017 at 05:37:47PM +0200, Mark Kettenis wrote: > So this enables the code. It makes -femulated-tls the default, > otherwise it will generated TLS relocations that we can't handle yet. > It is possible to specify -fno-emulated-tls if you really want to > generate those. > > A

Re: Emulated TLS for clang

2017-05-07 Thread Otto Moerbeek
On Sun, May 07, 2017 at 05:37:47PM +0200, Mark Kettenis wrote: > So this enables the code. It makes -femulated-tls the default, > otherwise it will generated TLS relocations that we can't handle yet. > It is possible to specify -fno-emulated-tls if you really want to > generate those. > > A

Re: Emulated TLS for clang

2017-05-07 Thread Juan Francisco Cantero Hurtado
On Sun, May 07, 2017 at 05:37:47PM +0200, Mark Kettenis wrote: > So this enables the code. It makes -femulated-tls the default, > otherwise it will generated TLS relocations that we can't handle yet. > It is possible to specify -fno-emulated-tls if you really want to > generate those. > > A

Emulated TLS for clang

2017-05-07 Thread Mark Kettenis
So this enables the code. It makes -femulated-tls the default, otherwise it will generated TLS relocations that we can't handle yet. It is possible to specify -fno-emulated-tls if you really want to generate those. A trivial example program that modifies the variable in one thread and prints it