https://sourceware.org/bugzilla/show_bug.cgi?id=17955
awson <kyrab at mail dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyrab at mail dot ru --- Comment #1 from awson <kyrab at mail dot ru> --- Created attachment 9519 --> https://sourceware.org/bugzilla/attachment.cgi?id=9519&action=edit Proper R_X86_64_PC64 reloc handling The patch I propose fixes things for me. Since Microsoft does *not* support R_X86_64_PC64 relocation type for PE-COFF and it is a pure GNU extension, I've decided we can handle it in whatever way we want. The only known to me high-level language compiler which generates this type of relocations on Windows is GHC (Glasgow Haskell Compiler) via LLVM backend (native codegen backend has workaround to generate R_X86_64_PC32 relocations instead). With no above patch applied ld generates wrong executables for it. -- 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