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.s
blob
127e3b9035d58dca40b5fe18b655a73cc6e94389
1
.text
2
.p2align 4,,15
3
.globl shmget
4
.type shmget, @function
5
shmget
:
6
xorl
%
r10d
, %
r10d
7
movl $
29
, %
eax
8
#APP
9
# 31 "../sysdeps/unix/sysv/linux/shmget.c" 1
10
syscall
11
12
# 0 "" 2
13
#NO_APP
14
cmpq $
-
4096
, %
rax
15
ja
.L5
16
rep ret
17
.p2align 4,,10
18
.p2align 3
19
.L5:
20
movq __libc_errno@gottpoff
(%
rip
), %
rdx
21
negl
%
eax
22
movl
%
eax
, %
fs
:(%
rdx
)
23
movl $
-
1
, %
eax
24
ret
25
.size shmget, .-shmget