mirror of https://github.com/rust-lang/rust.git
rt: Conditionalize out the 32-bit __morestack for everything but Linux
Currently broken everywhere else
This commit is contained in:
parent
8cbba79208
commit
72baf70748
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue