This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Add gold support for TLS descriptors
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 8 Dec 2009 07:46:35 -0800
- Subject: Re: PATCH: Add gold support for TLS descriptors
- References: <c17be2b30804111150r23418ca0ua0bf6f70ad9ebf01@mail.gmail.com>
On Fri, Apr 11, 2008 at 10:50 AM, Cary Coutant <ccoutant@google.com> wrote:
> This patch adds support for TLS descriptors (-mtls-dialect=gnu2) for
> i386 and x86_64. It also fixes a couple of issues with relaxation from
> global-dynamic to initial-exec.
>
> I've added test cases for GD-to-IE relaxation and for TLS descriptors.
> The TLS descriptor test cases are conditioned on support for the
> -mtls-dialect=gnu2 option in gcc and on support in the dynamic loader,
> which as best I can determined appeared in glibc version 2.5. The
> dynamic loader support isn't needed for tests involving relaxation to
> IE or LE models.
>
>
Hi Cary,
This implementation is incorrect::
http://sourceware.org/bugzilla/show_bug.cgi?id=11063
You can run tests on Fedora 11/12.
--
H.J.