mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Save rax register in getcontext
This commit is contained in:
parent
9ddbfd921e
commit
e228aa3e14
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
mov %rbp,120(%rdi)
|
||||
mov %rbx,128(%rdi)
|
||||
mov %rdx,136(%rdi)
|
||||
mov %rax,144(%rdi)
|
||||
mov %rcx,152(%rdi)
|
||||
lea 8(%rsp),%rax
|
||||
mov %rax,160(%rdi) // rsp = caller's rsp
|
||||
|
|
Loading…
Reference in a new issue