clarify the purpose of this project
[nyanglibc.git] / sysvipc / msgget.shared.s
blobdcc8f2abf0140144277065c2a486b06cd0ddfbb4
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 msgget
9 .type msgget, @function
10 msgget:
11 movl $68, %eax
12 #APP
13 # 30 "../sysdeps/unix/sysv/linux/msgget.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 msgget, .-msgget