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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils