[Bug c++/106834] GCC creates R_X86_64_GOTOFF64 for 4-bytes immediate
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 5 09:38:50 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106834
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Probably a Binutils bug then, with binutils-2.37 I get the correct
4: 48 8d 05 00 00 00 00 lea 0x0(%rip),%rax # b <main+0xb>
7: R_X86_64_GOTPC32 _GLOBAL_OFFSET_TABLE_-0x4
Can you please report it against binutils at https://sourceware.org/bugzilla/
and mention the link here?
More information about the Gcc-bugs
mailing list