This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold patch: fix problem with TLS and 128-bit data on x86_64
- From: Ian Lance Taylor <iant at google dot com>
- To: "Cary Coutant" <ccoutant at google dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 14 Aug 2008 16:32:43 -0700
- Subject: Re: gold patch: fix problem with TLS and 128-bit data on x86_64
- References: <c17be2b30808141606g5e9f25ecw6da975ba8f64835e@mail.gmail.com>
"Cary Coutant" <ccoutant@google.com> writes:
> 2008-08-14 Cary Coutant <ccoutant@google.com>
>
> * x86_64.cc (Target_x86_64::Relocate::relocat_tls):
> Use addend for DTPOFF32, DTPOFF64, and TPOFF32 relocs.
> * testsuite/tls_test.cc (struct int128): 128-bit struct
> for testing TLS relocs with non-zero addend.
> (v12): New TLS variable.
> (t12): New test.
> (t_last): Add check for v12.
> * testsuite/tls_test.h (t12): New function.
> * testsuite/tls_test_main.cc (thread_routine): Call new test.
This is OK.
Thanks.
Do we also need to use the addend in tls_gd_to_le, tls_desc_gd_to_le,
and tls_ie_to_le?
Ian