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
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

Reply via email to