Stub a __morestack implementation and stack segment allocation. Untested.

This commit is contained in:
Patrick Walton
2011-10-31 13:31:04 -07:00
parent 799ba7b122
commit c9003d301f
5 changed files with 77 additions and 2 deletions

View File

@@ -24,8 +24,13 @@ struct chan_handle {
struct rust_box;
struct stk_seg {
unsigned int valgrind_id;
stk_seg *next;
uintptr_t limit;
unsigned int valgrind_id;
#ifndef _LP64
uint32_t pad;
#endif
uint8_t data[];
};