[PATCH] Handle Initial-Exec to Local-Exec for x32
H.J. Lu
hjl.tools@gmail.com
Tue Jan 6 21:40:00 GMT 2015
On Tue, Jan 6, 2015 at 1:18 PM, Cary Coutant <ccoutant@google.com> wrote:
>> This patch handls Handle Initial-Exec to Local-Exec for x32. OK
>> to install?
>>
>> PR gold/17809
>> * x86_64.cc (Target_x86_64<size>::Relocate::tls_ie_to_le): Handle
>> x32.
>
> This is OK. Thanks!
Is it OK for 2.25 branch?
> When I run the test case from the PR through gold, I get a "TLS
> relocation out of range" error for the first instruction, since it
> doesn't have a REX prefix, and we'd otherwise try to look at .text -
> 1. How did you get around that? Do we need to support TLS relocations
You need to install binutils with fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=17482
> on instructions without a REX prefix?
Well, it is
https://sourceware.org/bugzilla/show_bug.cgi?id=17795
>
> -cary
> Where is the TLS ABI for x32 documented?
It is at
https://github.com/hjl-tools/x86-64-psABI/tree/hjl/x32/master
--
H.J.
More information about the Binutils
mailing list