From 1857c31d258915b81945cb571db3e4208384a81c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 7 Feb 2015 18:25:23 +0100 Subject: [PATCH] update the arm64 patch for 7.8.4 --- ghc-arm64.patch | 10 +++++----- ghc.spec | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ghc-arm64.patch b/ghc-arm64.patch index 7652727..38ad80d 100644 --- a/ghc-arm64.patch +++ b/ghc-arm64.patch @@ -91,13 +91,13 @@ Index: ghc-7.8.3/compiler/nativeGen/RegAlloc/Linear/FreeRegs.hs ArchPPC_64 -> panic "maxSpillSlots ArchPPC_64" ArchAlpha -> panic "maxSpillSlots ArchAlpha" ArchMipseb -> panic "maxSpillSlots ArchMipseb" -Index: ghc-7.8.3/compiler/nativeGen/RegAlloc/Linear/Main.hs +Index: ghc-7.8.4/compiler/nativeGen/RegAlloc/Linear/Main.hs =================================================================== ---- ghc-7.8.3.orig/compiler/nativeGen/RegAlloc/Linear/Main.hs 2014-07-10 10:16:42.533187516 +0200 -+++ ghc-7.8.3/compiler/nativeGen/RegAlloc/Linear/Main.hs 2014-07-10 10:16:42.529187516 +0200 +--- ghc-7.8.4/compiler/nativeGen/RegAlloc/Linear/Main.hs.orig 2015-02-07 18:19:27.364827776 +0100 ++++ ghc-7.8.4/compiler/nativeGen/RegAlloc/Linear/Main.hs 2015-02-07 18:20:46.813771354 +0100 @@ -207,6 +207,7 @@ - ArchSPARC -> linearRegAlloc' dflags (frInitFreeRegs platform :: SPARC.FreeRegs) first_id block_live sccs - ArchPPC -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) first_id block_live sccs + ArchSPARC -> linearRegAlloc' dflags (frInitFreeRegs platform :: SPARC.FreeRegs) entry_ids block_live sccs + ArchPPC -> linearRegAlloc' dflags (frInitFreeRegs platform :: PPC.FreeRegs) entry_ids block_live sccs ArchARM _ _ _ -> panic "linearRegAlloc ArchARM" + ArchARM64 -> panic "linearRegAlloc ArchARM64" ArchPPC_64 -> panic "linearRegAlloc ArchPPC_64" diff --git a/ghc.spec b/ghc.spec index 3fc18c3..ba72ac6 100644 --- a/ghc.spec +++ b/ghc.spec @@ -540,6 +540,7 @@ fi * Sat Feb 7 2015 Jens Petersen - 7.8.4-39.1 - version doc htmldirs again - all archs have bindir/ghci +- update the arm64 patch for 7.8.4 * Sat Jan 17 2015 Jens Petersen - 7.8.4-39 - update to 7.8.4