TLS transition from R_X86_64_TLSGD to R_X86_64_TPOFF32

H.J. Lu hjl.tools@gmail.com
Mon Nov 9 14:57:44 GMT 2020


On Mon, Nov 9, 2020 at 6:46 AM Tom Kacvinsky via Binutils
<binutils@sourceware.org> wrote:
>
> HI,
>
> I am seeing this with a custom build of GCC.  I looked
> over0Ulrich  Drepper's paper
> on TLS handling in ELF binaries, but I couldn't suss out what this error
> means.
>
> Does anyone have some diagnostic tips for tracking this down?
>

What did you see?  GD sequence should be

.byte 0x66
leaq x@tlsgd(%rip),%rdi
.word 0x6666
rex64 call tls get addr@plt

-- 
H.J.


More information about the Binutils mailing list