https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106834
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Can you show how gcc -S output looks for you on this testcase? For me the problematic instruction is just movl $_GLOBAL_OFFSET_TABLE_, %eax or leaq _GLOBAL_OFFSET_TABLE_(%rip), %rax with -fpie, so it's the assembler who chooses the relocation type (which would make that a Binutils bug).