repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
sysvipc
/
shmget.shared.s
blob
3417384e84cb5508c8b62939a10811349f5c1b32
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 shmget
9
.type shmget, @function
10
shmget
:
11
xorl
%
r10d
, %
r10d
12
movl $
29
, %
eax
13
#APP
14
# 31 "../sysdeps/unix/sysv/linux/shmget.c" 1
15
syscall
16
17
# 0 "" 2
18
#NO_APP
19
cmpq $
-
4096
, %
rax
20
ja
.L5
21
rep ret
22
.p2align 4,,10
23
.p2align 3
24
.L5:
25
movq __libc_errno@gottpoff
(%
rip
), %
rdx
26
negl
%
eax
27
movl
%
eax
, %
fs
:(%
rdx
)
28
movl $
-
1
, %
eax
29
ret
30
.size shmget, .-shmget