rts/Linker.c (machoGetMisalignment):
rts/Linker.c (machoGetMisalignment):

Use fseek(3) instead of rewind(3) to move the file position indicator back to the initial position. Otherwise we can't use this function in loadArchive().

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