On Thu, Jul 27, 2017 at 3:07 PM, Nathan Sidwell <nat...@acm.org> wrote: > Jan, > I notice the x86 default -mtls-dialect is GNU not GNU2. The latter was > added in 2006. Is there a reason not to default to it now? (perhaps > because of the ldso dependency?)
You may have noticed. There is zero test for -mtls-dialect=gnu2 on x86 in GCC and I only added one -mtls-dialect-gnu2 in glibc last year when I fixed GNU2 TLS bug in glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=20309 So effectively, there is very little test for -mtls-dialect-gnu2 on x86. -- H.J.