projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove all .size and .type directives for functions from the asm
[musl]
/
src
/
thread
/
x86_64
/
syscall_cp.s
1
.text
2
.global __syscall_cp_asm
3
__syscall_cp_asm:
4
lea 1f(%rip),%rax
5
mov %rax,8(%rdi)
6
mov %rsp,(%rdi)
7
mov 16(%rdi),%eax
8
test %eax,%eax
9
jnz 2f
10
mov %rdi,%r11
11
mov %rsi,%rax
12
mov %rdx,%rdi
13
mov %rcx,%rsi
14
mov %r8,%rdx
15
mov %r9,%r10
16
mov 8(%rsp),%r8
17
mov 16(%rsp),%r9
18
mov %r11,8(%rsp)
19
1: syscall
20
xor %ecx,%ecx
21
mov 8(%rsp),%rdi
22
mov %rcx,(%rdi)
23
ret
24
2: call __cancel