clarify the purpose of this project
[nyanglibc.git] / posix / posix_madvise.shared.s
blob48dc3075e7b4e734b3117ddb05afb3db01ad5a14
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 posix_madvise
9 .type posix_madvise, @function
10 posix_madvise:
11 xorl %eax, %eax
12 cmpl $4, %edx
13 je .L1
14 movl $28, %eax
15 #APP
16 # 34 "../sysdeps/unix/sysv/linux/posix_madvise.c" 1
17 syscall
19 # 0 "" 2
20 #NO_APP
21 negl %eax
22 .L1:
23 rep ret
24 .size posix_madvise, .-posix_madvise