codeGen: Remove binutils<2.17 hack, fixes T11758
authorAlex Dzyoba <alex@dzyoba.com>
Thu, 4 Aug 2016 11:42:21 +0000 (13:42 +0200)
committerBen Gamari <ben@smart-cactus.org>
Fri, 5 Aug 2016 08:40:45 +0000 (10:40 +0200)
commite3e2e49a8f6952e1c8a19321c729c17b294d8c92
tree154d6713a76098b6553516d26c8297213ad1133d
parentf09d65474ed042360999cb88221d65b07bfb4b5f
codeGen: Remove binutils<2.17 hack, fixes T11758

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
compiler/nativeGen/X86/CodeGen.hs
compiler/nativeGen/X86/Ppr.hs
includes/rts/storage/InfoTables.h