Commit 49092058 authored by Simon Marlow's avatar Simon Marlow
Browse files

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.
parent 9c5e9038
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment