https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106834

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #4)
> Probably a Binutils bug then, with binutils-2.37 I get the correct

Do you mean gas or ld?

> 
>    4:   48 8d 05 00 00 00 00    lea    0x0(%rip),%rax        # b <main+0xb>
>                         7: R_X86_64_GOTPC32     _GLOBAL_OFFSET_TABLE_-0x4

How did you get this output, please (from foo.o or final executable)?

Reply via email to