rt: Fix i386/morestack.S for static linking
This commit is contained in:
parent
5ce33ceb76
commit
9675343dc9
@ -94,7 +94,8 @@ MORESTACK:
|
||||
movl NEW_STACK_ADDR,%eax
|
||||
movl %eax,(%esp)
|
||||
movl %edx,4(%esp)
|
||||
calll UPCALL_CALL_C_STACK
|
||||
// FIXME: Don't understand why just _here_ I have to say @PLT
|
||||
calll UPCALL_CALL_C_STACK@PLT
|
||||
|
||||
movl 12(%esp),%edx // Grab the return pointer.
|
||||
addl $RETURN_OFFSET,%edx // Skip past the `add esp,4` and the `ret`.
|
||||
|
@ -96,7 +96,7 @@ static size_t const BUF_BYTES = 2048;
|
||||
|
||||
// FIXME: We want this to be 128 but need to slim the red zone calls down
|
||||
#ifdef __i386__
|
||||
#define RED_ZONE_SIZE 256
|
||||
#define RED_ZONE_SIZE 2048
|
||||
#endif
|
||||
|
||||
#ifdef __x86_64__
|
||||
|
Loading…
x
Reference in New Issue
Block a user