[PATCH] Handle Initial-Exec to Local-Exec for x32

Cary Coutant ccoutant@google.com
Tue Jan 6 21:18:00 GMT 2015


> 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!

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
on instructions without a REX prefix?

Where is the TLS ABI for x32 documented?

-cary



More information about the Binutils mailing list