Skip to content
  • avd's avatar
    codeGen: Remove binutils<2.17 hack, fixes T11758 · e3e2e49a
    avd authored and Ben Gamari's avatar Ben Gamari committed
    There was a complication on the x86_64 platform, where pointers were 64
    bits, but the tools didn't support 64-bit relative relocations.  This
    was true before binutils 2.17, which nowadays is quite standart (even
    CentOs 5 is shipped with 2.17).
    
    Hacks were removed from x86 genSwitch and asm pretty printer. Also
    [x86-64-relative] note was dropped from
    includes/rts/storage/InfoTables.h as it's not referenced anywhere now.
    
    Reviewers: austin, simonmar, rwbarton, erikd, bgamari
    
    Reviewed By: simonmar, erikd, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2426
    e3e2e49a