Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/rt/arch/i386/morestack.S
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,14 @@
#else
#if defined(__linux__) || defined(__FreeBSD__)
#define MORESTACK __morestack
#define EXHAUSTED rust_stack_exhausted
#define EXHAUSTED rust_stack_exhausted@plt
#else
#define MORESTACK ___morestack
#define EXHAUSTED _rust_stack_exhausted
#endif
#endif

.globl MORESTACK
.globl EXHAUSTED

// FIXME: What about __WIN32__?
#if defined(__linux__) || defined(__FreeBSD__)
Expand Down Expand Up @@ -138,7 +137,7 @@ MORESTACK:

// re-align the stack
subl $12,%esp
calll EXHAUSTED
call EXHAUSTED
// the exhaustion function guarantees that it can't return

.cfi_endproc