Skip to content

Remove Hack in compiler/nativeGen/X86/CodeGen.hs

Remove the hack around Line 3914 labeled with:

    -- HACK: On x86_64 binutils<2.17 is only able to generate PC32
    -- relocations, hence we only get 32-bit offsets in the jump
    -- table. As these offsets are always negative we need to properly
    -- sign extend them to 64-bit. This hack should be removed in
    -- conjunction with the hack in PprMach.hs/pprDataItem once
    -- binutils 2.17 is standard.

This bug is intended for house keeping.

Edited by rwbarton
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information