clarify the purpose of this project
[nyanglibc.git] / io / posix_fadvise64.shared.s
blobde026b7d2ef4fda3cb1701e265a76b466c63f263
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __GI___posix_fadvise64_l64
9 .hidden __GI___posix_fadvise64_l64
10 .type __GI___posix_fadvise64_l64, @function
11 __GI___posix_fadvise64_l64:
12 movl %ecx, %r10d
13 movl $221, %eax
14 #APP
15 # 48 "../sysdeps/unix/sysv/linux/posix_fadvise64.c" 1
16 syscall
18 # 0 "" 2
19 #NO_APP
20 movl %eax, %edx
21 negl %edx
22 cmpl $-4096, %eax
23 movl $0, %eax
24 cmova %edx, %eax
25 ret
26 .size __GI___posix_fadvise64_l64, .-__GI___posix_fadvise64_l64
27 .weak posix_fadvise64
28 .set posix_fadvise64,__GI___posix_fadvise64_l64
29 .globl posix_fadvise
30 .set posix_fadvise,__GI___posix_fadvise64_l64
31 .globl __posix_fadvise64_l64
32 .set __posix_fadvise64_l64,__GI___posix_fadvise64_l64