clarify the purpose of this project
[nyanglibc.git] / posix / sched_rr_gi.shared.s
blob3fefa5f8a49cfc4b09c9c827401822145bdf6ed1
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 __sched_rr_get_interval
9 .type __sched_rr_get_interval, @function
10 __sched_rr_get_interval:
11 movl $148, %eax
12 #APP
13 # 31 "../sysdeps/unix/sysv/linux/sched_rr_gi.c" 1
14 syscall
16 # 0 "" 2
17 #NO_APP
18 cmpq $-4096, %rax
19 ja .L5
20 rep ret
21 .p2align 4,,10
22 .p2align 3
23 .L5:
24 movq __libc_errno@gottpoff(%rip), %rdx
25 negl %eax
26 movl %eax, %fs:(%rdx)
27 movl $-1, %eax
28 ret
29 .size __sched_rr_get_interval, .-__sched_rr_get_interval
30 .globl sched_rr_get_interval
31 .set sched_rr_get_interval,__sched_rr_get_interval