mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-05 04:02:28 +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 %rbp,120(%rdi)
|
||||||
mov %rbx,128(%rdi)
|
mov %rbx,128(%rdi)
|
||||||
mov %rdx,136(%rdi)
|
mov %rdx,136(%rdi)
|
||||||
|
mov %rax,144(%rdi)
|
||||||
mov %rcx,152(%rdi)
|
mov %rcx,152(%rdi)
|
||||||
lea 8(%rsp),%rax
|
lea 8(%rsp),%rax
|
||||||
mov %rax,160(%rdi) // rsp = caller's rsp
|
mov %rax,160(%rdi) // rsp = caller's rsp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue