clarify the purpose of this project
[nyanglibc.git] / sysvipc / semtimedop.s
blob823112e1208bb97a100f0c52d4cd27e0689516b0
1 .text
2 .p2align 4,,15
3 .globl __semtimedop
4 .hidden __semtimedop
5 .type __semtimedop, @function
6 __semtimedop:
7 movq %rcx, %r10
8 movl $220, %eax
9 #APP
10 # 33 "../sysdeps/unix/sysv/linux/semtimedop.c" 1
11 syscall
13 # 0 "" 2
14 #NO_APP
15 cmpq $-4096, %rax
16 ja .L5
17 rep ret
18 .p2align 4,,10
19 .p2align 3
20 .L5:
21 movq __libc_errno@gottpoff(%rip), %rdx
22 negl %eax
23 movl %eax, %fs:(%rdx)
24 movl $-1, %eax
25 ret
26 .size __semtimedop, .-__semtimedop
27 .weak semtimedop
28 .set semtimedop,__semtimedop