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