conclusion
This commit is contained in:
parent
0f97a589b8
commit
9bc8a11afe
1069 changed files with 48694 additions and 11 deletions
16
05/musl-0.6.0/src/syscall56.s
Normal file
16
05/musl-0.6.0/src/syscall56.s
Normal file
|
@ -0,0 +1,16 @@
|
|||
.global syscall5
|
||||
.global syscall6
|
||||
|
||||
syscall5:
|
||||
syscall6:
|
||||
# SysV calling convention: RDI, RSI, RDX, RCX, R8, R9, 8(%rsp)
|
||||
# Linux syscall calling convention: RAX, RDI, RSI, RDX, R10, R8, R9
|
||||
mov %rdi, %rax
|
||||
mov %rsi, %rdi
|
||||
mov %rdx, %rsi
|
||||
mov %rcx, %rdx
|
||||
mov %r8, %r10
|
||||
mov %r9, %r8
|
||||
mov 8(%rsp), %r9
|
||||
syscall
|
||||
ret
|
Loading…
Add table
Add a link
Reference in a new issue