clarify the purpose of this project
[nyanglibc.git] / io / posix_fadvise64.s
blob98e00f1d31071e96bbffb78af649c9760458effb
1 .text
2 .p2align 4,,15
3 .globl __posix_fadvise64_l64
4 .hidden __posix_fadvise64_l64
5 .type __posix_fadvise64_l64, @function
6 __posix_fadvise64_l64:
7 movl %ecx, %r10d
8 movl $221, %eax
9 #APP
10 # 48 "../sysdeps/unix/sysv/linux/posix_fadvise64.c" 1
11 syscall
13 # 0 "" 2
14 #NO_APP
15 movl %eax, %edx
16 negl %edx
17 cmpl $-4096, %eax
18 movl $0, %eax
19 cmova %edx, %eax
20 ret
21 .size __posix_fadvise64_l64, .-__posix_fadvise64_l64
22 .globl posix_fadvise
23 .set posix_fadvise,__posix_fadvise64_l64
24 .weak posix_fadvise64
25 .set posix_fadvise64,__posix_fadvise64_l64