rt: Conditionalize out the 32-bit __morestack for everything but Linux

Currently broken everywhere else
This commit is contained in:
Brian Anderson 2011-11-29 13:52:31 -08:00
parent 8cbba79208
commit 72baf70748
1 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,7 @@
.type MORESTACK,@function
#endif
#if defined(__linux__)
MORESTACK:
// Sanity check to make sure that there is a currently-running task.
@ -130,6 +131,12 @@ MORESTACK:
addl $12+4+8+ALIGNMENT,%esp
jmpl *%edx
#else
MORESTACK:
ret
#endif
#ifdef __APPLE__
.section __IMPORT,__pointers,non_lazy_symbol_pointers