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
/
pthread_kill.s
blob
a423df2574eefe5cb4ed3642df263136d7d9d37e
1
.text
2
.p2align 4,,15
3
.globl __pthread_kill
4
.type __pthread_kill, @function
5
__pthread_kill
:
6
pushq
%
rbp
7
pushq
%
rbx
8
subq $
8
, %
rsp
9
movl
720
(%
rdi
), %
ebx
10
testl
%
ebx
, %
ebx
11
jle
.L3
12
leal
-
32
(%
rsi
), %
edx
13
movl $
22
, %
eax
14
cmpl
$
1
, %
edx
15
jbe
.L1
16
movl
%
esi
, %
ebp
17
call __getpid@PLT
18
movl
%
ebp
, %
edx
19
movl
%
eax
, %
edi
20
movl
%
ebx
, %
esi
21
movl $
234
, %
eax
22
#APP
23
# 53 "../sysdeps/unix/sysv/linux/pthread_kill.c" 1
24
syscall
25
26
# 0 "" 2
27
#NO_APP
28
movl
%
eax
, %
edx
29
negl
%
edx
30
cmpl
$
-
4096
, %
eax
31
movl $
0
, %
eax
32
cmova
%
edx
, %
eax
33
.L1:
34
addq $
8
, %
rsp
35
popq
%
rbx
36
popq
%
rbp
37
ret
38
.p2align 4,,10
39
.p2align 3
40
.L3:
41
addq $
8
, %
rsp
42
movl $
3
, %
eax
43
popq
%
rbx
44
popq
%
rbp
45
ret
46
.size __pthread_kill, .-__pthread_kill
47
.globl pthread_kill
48
.set pthread_kill,__pthread_kill