clarify the purpose of this project
[nyanglibc.git] / posix / posix_madvise.s
blob35b4193d3f06773573596d1fd2d3dbba356dff7b
1 .text
2 .p2align 4,,15
3 .globl posix_madvise
4 .type posix_madvise, @function
5 posix_madvise:
6 xorl %eax, %eax
7 cmpl $4, %edx
8 je .L1
9 movl $28, %eax
10 #APP
11 # 34 "../sysdeps/unix/sysv/linux/posix_madvise.c" 1
12 syscall
14 # 0 "" 2
15 #NO_APP
16 negl %eax
17 .L1:
18 rep ret
19 .size posix_madvise, .-posix_madvise