diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-01-30 15:42:01 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-01-30 20:25:52 +0000 |
commit | 490920583817a650e45956025fce64af2ea1bb92 (patch) | |
tree | 002e70abf78aedb54e792c30593d33ef3c310ffc /utils/genapply | |
parent | 9c5e9038763e2e70bc30732418a44bd0e674fb25 (diff) | |
download | haskell-490920583817a650e45956025fce64af2ea1bb92.tar.gz |
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.
Diffstat (limited to 'utils/genapply')
-rw-r--r-- | 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 1a097b7a1d..33146b2a2c 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 |