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?