diff options
author | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2020-01-28 11:07:34 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-02-04 09:29:00 -0500 |
commit | e580e5b8d08b02c39ca49e387882196931163bcf (patch) | |
tree | 2b7db3d1e490771424a8556842da7f03c4d9bfda /rts | |
parent | 5e63d9c07c0585b85c8fa340d30aeff0130af3f4 (diff) | |
download | haskell-e580e5b8d08b02c39ca49e387882196931163bcf.tar.gz |
Do not build StgCRunAsm.S for unregisterised builds
For unregisterised builds StgRun/StgReturn are implemented via a mini
interpreter in StgCRun.c and therefore would collide with the
implementations in StgCRunAsm.S.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/StgCRunAsm.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/StgCRunAsm.S b/rts/StgCRunAsm.S index 946f5775ea..bb44ecaf01 100644 --- a/rts/StgCRunAsm.S +++ b/rts/StgCRunAsm.S @@ -1,6 +1,8 @@ #include "ghcconfig.h" #include "rts/Constants.h" +#if !defined(USE_MINIINTERPRETER) + #if defined(powerpc64le_HOST_ARCH) # if defined(linux_HOST_OS) # define STACK_FRAME_SIZE RESERVED_C_STACK_BYTES+304 @@ -273,3 +275,5 @@ StgReturn: .section .note.GNU-stack,"",@progbits #endif + +#endif /* !USE_MINIINTERPRETER */ |