summaryrefslogtreecommitdiff
path: root/includes/Stg.h
diff options
context:
space:
mode:
authorStephen Blackheath <effusively.proffer.stephen@blacksapphire.com>2011-07-26 10:35:17 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2011-08-10 22:03:41 +1000
commitf7a70506bc252d72628ea81faa20df8030923790 (patch)
tree2adbba23026b4d392d53e116d1c99c1c75a69032 /includes/Stg.h
parent5cf87b43993f5fd2884755cd16268c2f40572026 (diff)
downloadhaskell-f7a70506bc252d72628ea81faa20df8030923790.tar.gz
ARMv5 compatibility for registerized runtime changes.
When the bootstrap compiler does not include this patch, you must add this line to mk/build.mk, otherwise the ARM architecture cannot be detected due to a -undef option given to the C pre-processor. SRC_HC_OPTS = -pgmP 'gcc -E -traditional'
Diffstat (limited to 'includes/Stg.h')
-rw-r--r--includes/Stg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Stg.h b/includes/Stg.h
index cae4a3a4aa..5665018d93 100644
--- a/includes/Stg.h
+++ b/includes/Stg.h
@@ -225,6 +225,8 @@ typedef StgFunPtr F_;
Other Stg stuff...
-------------------------------------------------------------------------- */
+#include "stg/ArchSpecific.h" /* required by MachRegs.h and SMP.h */
+
#include "stg/DLL.h"
#include "stg/MachRegs.h"
#include "stg/Regs.h"