[commit: ghc] master: We should be including HaskellMachRegs.h here, not RtsMachRegs.h (4909205)
Simon Marlow
marlowsd at gmail.com
Wed Jan 30 21:26:02 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/490920583817a650e45956025fce64af2ea1bb92
>---------------------------------------------------------------
commit 490920583817a650e45956025fce64af2ea1bb92
Author: Simon Marlow <marlowsd at gmail.com>
Date: Wed Jan 30 15:42:01 2013 +0000
We should be including HaskellMachRegs.h here, not RtsMachRegs.h
This was causing GenApply.hs to use the host architecture's register
settings rather than the target's, with the result that some
cross-compiled programs would crash.
>---------------------------------------------------------------
utils/genapply/GenApply.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/genapply/GenApply.hs b/utils/genapply/GenApply.hs
index 1a097b7..33146b2 100644
--- a/utils/genapply/GenApply.hs
+++ b/utils/genapply/GenApply.hs
@@ -8,7 +8,7 @@
module Main(main) where
#include "../../includes/ghcconfig.h"
-#include "../../includes/stg/RtsMachRegs.h"
+#include "../../includes/stg/HaskellMachRegs.h"
#include "../../includes/rts/Constants.h"
-- Needed for TAG_BITS
More information about the ghc-commits
mailing list