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]
/
signal
/
sigaddset.s
blob
6a8601bd5bef98b362a0109a349f6046c259586e
1
.text
2
.p2align 4,,15
3
.globl sigaddset
4
.hidden sigaddset
5
.type sigaddset, @function
6
sigaddset
:
7
leal
-
1
(%
rsi
), %
ecx
8
cmpl
$
63
, %
ecx
9
ja
.L2
10
testq
%
rdi
, %
rdi
11
je
.L2
12
subl $
32
, %
esi
13
cmpl
$
1
, %
esi
14
jbe
.L2
15
movl $
1
, %
eax
16
salq
%
cl
, %
rax
17
orq
%
rax
, (%
rdi
)
18
xorl
%
eax
, %
eax
19
ret
20
.p2align 4,,10
21
.p2align 3
22
.L2:
23
movq __libc_errno@gottpoff
(%
rip
), %
rax
24
movl $
22
, %
fs
:(%
rax
)
25
movl $
-
1
, %
eax
26
ret
27
.size sigaddset, .-sigaddset