PprMach.hs more accurate hack for x86-64, CmmLabelOff is not a relative reference.
PprMach.hs more accurate hack for x86-64, CmmLabelOff is not a relative reference.

CmmLabelDiffOff are generated in .text and if printed as .quad, causes
the assembler to emit a PC64 relocation. binutils prior to 2.17 don't
understand PC64 relocation properly.

pprDataItem is also used for printing SRT description tables. They are
part of the .data section and there no PC relative relocations are
emited. Hence, if we print a .long here, we get a absolute 32-bit
relocation. 32-bit relocations are problematic in dynamic libraries,
because dynamic library load addresses are loaded beyond the 32 bit
boundary, causing the dynamic linker to warn at dynamic linking
(loading the executable) that there are overflows in the
relocation. The executable still seems to work because of the small
memory model, but this is obviously wrong. Hence, remove CmmLabelOff
from the classification, causing these references to be printed as
.quad, causing correct 64-bit relocation as in the rest of the .data
section.  

So, this hack now prints PC32 relocations in .text (mostly in the info
tables), and absolute 64-bit relocations in .data.


fmthoma/ghc,nushio3/ghc,christiaanb/ghc,vTurbine/ghc,nathyong/microghc-ghc,sgillespie/ghc,elieux/ghc,tibbe/ghc,oldmanmike/ghc,bitemyapp/ghc,green-haskell/ghc,siddhanathan/ghc,nathyong/microghc-ghc,nathyong/microghc-ghc,GaloisInc/halvm-ghc,mcschroeder/ghc,vikraman/ghc,acowley/ghc,oldmanmike/ghc,AlexanderPankiv/ghc,holzensp/ghc,mfine/ghc,nushio3/ghc,ezyang/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,gcampax/ghc,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,AlexanderPankiv/ghc,fmthoma/ghc,vikraman/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,snoyberg/ghc,nkaretnikov/ghc,christiaanb/ghc,snoyberg/ghc,tibbe/ghc,acowley/ghc,ilyasergey/GHC-XAppFix,mcschroeder/ghc,gcampax/ghc,GaloisInc/halvm-ghc,oldmanmike/ghc,ml9951/ghc,bitemyapp/ghc,bitemyapp/ghc,tjakway/ghcjvm,snoyberg/ghc,holzensp/ghc,elieux/ghc,siddhanathan/ghc,gcampax/ghc,siddhanathan/ghc,siddhanathan/ghc,lukexi/ghc,da-x/ghc,vikraman/ghc,nkaretnikov/ghc,tjakway/ghcjvm,nomeata/ghc,hferreiro/replay,nushio3/ghc,vikraman/ghc,fmthoma/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,nomeata/ghc,lukexi/ghc-7.8-arm64,sdiehl/ghc,AlexanderPankiv/ghc,christiaanb/ghc,mcschroeder/ghc,snoyberg/ghc,olsner/ghc,sdiehl/ghc,mfine/ghc,tjakway/ghcjvm,nkaretnikov/ghc,green-haskell/ghc,da-x/ghc,mettekou/ghc,spacekitteh/smcghc,ezyang/ghc,gcampax/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,anton-dessiatov/ghc,oldmanmike/ghc,shlevy/ghc,ilyasergey/GHC-XAppFix,hferreiro/replay,sdiehl/ghc,ghc-android/ghc,spacekitteh/smcghc,vikraman/ghc,ezyang/ghc,frantisekfarka/ghc-dsi,nushio3/ghc,ghc-android/ghc,ilyasergey/GHC-XAppFix,jstolarek/ghc,elieux/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,sgillespie/ghc,jstolarek/ghc,oldmanmike/ghc,hferreiro/replay,ghc-android/ghc,mfine/ghc,shlevy/ghc,lukexi/ghc-7.8-arm64,lukexi/ghc,tibbe/ghc,frantisekfarka/ghc-dsi,elieux/ghc,gridaphobe/ghc,TomMD/ghc,nomeata/ghc,ml9951/ghc,acowley/ghc,bitemyapp/ghc,TomMD/ghc,mfine/ghc,elieux/ghc,tjakway/ghcjvm,ekmett/ghc,vTurbine/ghc,jstolarek/ghc,green-haskell/ghc,elieux/ghc,da-x/ghc,TomMD/ghc,vTurbine/ghc,ml9951/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,gridaphobe/ghc,holzensp/ghc,wxwxwwxxx/ghc,lukexi/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,ezyang/ghc,vTurbine/ghc,christiaanb/ghc,ghc-android/ghc,spacekitteh/smcghc,mcmaniac/ghc,ml9951/ghc,christiaanb/ghc,da-x/ghc,forked-upstream-packages-for-ghcjs/ghc,ekmett/ghc,holzensp/ghc,urbanslug/ghc,mettekou/ghc,urbanslug/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc,hferreiro/replay,ilyasergey/GHC-XAppFix,sdiehl/ghc,sgillespie/ghc,wxwxwwxxx/ghc,sgillespie/ghc,ghc-android/ghc,nushio3/ghc,TomMD/ghc,hferreiro/replay,ghc-android/ghc,TomMD/ghc,ryantm/ghc,sgillespie/ghc,TomMD/ghc,ryantm/ghc,anton-dessiatov/ghc,mcschroeder/ghc,ml9951/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,ml9951/ghc,sgillespie/ghc,fmthoma/ghc,mettekou/ghc,bitemyapp/ghc,tibbe/ghc,mfine/ghc,GaloisInc/halvm-ghc,lukexi/ghc-7.8-arm64,olsner/ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,holzensp/ghc,ekmett/ghc,ryantm/ghc,gcampax/ghc,snoyberg/ghc,gridaphobe/ghc,vikraman/ghc,da-x/ghc,nkaretnikov/ghc,nushio3/ghc,AlexanderPankiv/ghc,nomeata/ghc,acowley/ghc,mcschroeder/ghc,tjakway/ghcjvm,gridaphobe/ghc,acowley/ghc,gcampax/ghc,green-haskell/ghc,vTurbine/ghc,mfine/ghc,urbanslug/ghc,anton-dessiatov/ghc,mcmaniac/ghc,anton-dessiatov/ghc,mcmaniac/ghc,mcschroeder/ghc,fmthoma/ghc,olsner/ghc,urbanslug/ghc,ezyang/ghc,oldmanmike/ghc,ml9951/ghc,shlevy/ghc,ryantm/ghc,nomeata/ghc,mfine/ghc,spacekitteh/smcghc,olsner/ghc,nathyong/microghc-ghc,olsner/ghc,AlexanderPankiv/ghc,da-x/ghc,hferreiro/replay,gridaphobe/ghc,olsner/ghc,hferreiro/replay,ekmett/ghc,tjakway/ghcjvm,olsner/ghc,GaloisInc/halvm-ghc,nushio3/ghc,snoyberg/ghc,mettekou/ghc,ekmett/ghc,urbanslug/ghc,tibbe/ghc,spacekitteh/smcghc,fmthoma/ghc,shlevy/ghc,AlexanderPankiv/ghc,siddhanathan/ghc,mettekou/ghc,forked-upstream-packages-for-ghcjs/ghc,acowley/ghc,mcmaniac/ghc,vTurbine/ghc,acowley/ghc,ghc-android/ghc,christiaanb/ghc,vikraman/ghc,frantisekfarka/ghc-dsi,nkaretnikov/ghc,fmthoma/ghc,mettekou/ghc,forked-upstream-packages-for-ghcjs/ghc,urbanslug/ghc,mettekou/ghc,da-x/ghc,lukexi/ghc,lukexi/ghc-7.8-arm64,christiaanb/ghc,frantisekfarka/ghc-dsi,anton-dessiatov/ghc,shlevy/ghc,sdiehl/ghc,mcmaniac/ghc,ryantm/ghc,jstolarek/ghc,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,jstolarek/ghc,wxwxwwxxx/ghc,sdiehl/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,green-haskell/ghc,shlevy/ghc,anton-dessiatov/ghc,shlevy/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,ezyang/ghc,siddhanathan/ghc,nathyong/microghc-ghc,TomMD/ghc,gcampax/ghc,urbanslug/ghc,nathyong/microghc-ghc,tjakway/ghcjvm