This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gold patch: fix problem with TLS and 128-bit data on x86_64


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]