This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: tls-dialect gnu2
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 27 Jul 2017 15:29:59 -0700
- Subject: Re: tls-dialect gnu2
- Authentication-results: sourceware.org; auth=none
- References: <5bfee52c-11ff-67cb-139d-9fdaffb49bb8@acm.org>
On Thu, Jul 27, 2017 at 3:07 PM, Nathan Sidwell <nathan@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.