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]
/
nptl
/
sem_init.shared.s
blob
a3bf2ba4c18dd73eac47386d861cd6fc18db6986
1
.text
2
#APP
3
.symver __new_sem_init,sem_init@@GLIBC_2.2.5
4
#NO_APP
5
.p2align 4,,15
6
.globl __new_sem_init
7
.type __new_sem_init, @function
8
__new_sem_init
:
9
testl
%
edx
, %
edx
10
js
.L8
11
movl
%
edx
, %
eax
12
testl
%
esi
, %
esi
13
movq
%
rax
, (%
rdi
)
14
movl $
128
, %
eax
15
cmovne
%
eax
, %
esi
16
xorl
%
eax
, %
eax
17
movl
%
esi
,
8
(%
rdi
)
18
ret
19
.p2align 4,,10
20
.p2align 3
21
.L8:
22
movq errno@gottpoff
(%
rip
), %
rax
23
movl $
22
, %
fs
:(%
rax
)
24
movl $
-
1
, %
eax
25
ret
26
.size __new_sem_init, .-__new_sem_init