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