bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOT


From: hjl.tools at gmail dot com
Subject: [Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)
Date: Tue, 16 Jul 2019 15:59:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24784

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fangrui Song from comment #7)
> > For the occurrence of name@GOTPCREL in the following assembler instructions:
> 
> > call *name@GOTPCREL(%rip)
> 
> I agree, yet it also says:
> 
> > (PIC) the base of GOT is within 2GB an indirect call to the GOT entry might 
> > be implemented like so:
> > foo (); call *(foo@GOT); R_X86_64_GOTPCREL
> 
> :)

There is a typo. Relocation should be R_X86_64_GOT32, not R_X86_64_GOTPCREL.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]