clarify the purpose of this project
[nyanglibc.git] / nptl / pt-fcntl.shared.s
blob0f7b8e8da83bba3027c729d1d2053a197b97325c
1 .text
2 #APP
3 .symver fcntl_alias,fcntl@GLIBC_2.2.5
4 .symver __fcntl_alias,__fcntl@GLIBC_2.2.5
5 #NO_APP
6 .p2align 4,,15
7 .type fcntl_compat, @function
8 fcntl_compat:
9 subq $88, %rsp
10 leaq 96(%rsp), %rax
11 movq %rdx, 48(%rsp)
12 movl $16, 8(%rsp)
13 movq %rax, 16(%rsp)
14 leaq 32(%rsp), %rax
15 movq %rax, 24(%rsp)
16 xorl %eax, %eax
17 call __libc_fcntl64@PLT
18 addq $88, %rsp
19 ret
20 .size fcntl_compat, .-fcntl_compat
21 .weak __fcntl_alias
22 .set __fcntl_alias,fcntl_compat
23 .weak fcntl_alias
24 .set fcntl_alias,fcntl_compat