Partial fix for #7158: Save EDX in morestack on x86-32
This commit is contained in:
parent
0d7f8f7685
commit
461a79a247
1 changed files with 2 additions and 0 deletions
|
|
@ -207,12 +207,14 @@ MORESTACK:
|
|||
subl $12, %esp
|
||||
|
||||
// Save the return value of the function we allocated space for
|
||||
movl %edx, 4(%esp)
|
||||
movl %eax, (%esp)
|
||||
|
||||
call UPCALL_DEL_STACK
|
||||
|
||||
// And restore it
|
||||
movl (%esp), %eax
|
||||
movl 4(%esp), %edx
|
||||
|
||||
addl $12,%esp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue