From 87c36991c22f208623c96506c64c6c163361e45b Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 4 Oct 2006 12:58:57 +0000 Subject: [PATCH] Fix unregisterised alpha builds --- rts/StgCRun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rts/StgCRun.c b/rts/StgCRun.c index 302e910..9d80bdb 100644 --- a/rts/StgCRun.c +++ b/rts/StgCRun.c @@ -50,6 +50,7 @@ * in libc.a clobbers $s6. */ #include "ghcconfig.h" +#ifndef USE_MINIINTERPRETER #ifdef alpha_HOST_ARCH #define alpha_EXTRA_CAREFUL register long fake_ra __asm__("$26"); @@ -60,6 +61,7 @@ register double fake_f8 __asm__("$f8"); register double fake_f9 __asm__("$f9"); #endif #endif +#endif /* include Stg.h first because we want real machine regs in here: we * have to get the value of R1 back from Stg land to C land intact. -- 1.7.10.4