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]
/
posix
/
_exit.s
blob
98529ec95029d885e9cce20e73988527595bf2c7
1
.text
2
.p2align 4,,15
3
.globl _exit
4
.hidden _exit
5
.type _exit, @function
6
_exit
:
7
movl
%
edi
, %
edx
8
movq __libc_errno@gottpoff
(%
rip
), %
r9
9
movl $
231
, %
r8d
10
movl $
60
, %
esi
11
jmp
.L4
12
.p2align 4,,10
13
.p2align 3
14
.L2:
15
movl
%
edx
, %
edi
16
movl
%
esi
, %
eax
17
#APP
18
# 31 "../sysdeps/unix/sysv/linux/_exit.c" 1
19
syscall
20
21
# 0 "" 2
22
#NO_APP
23
cmpq $
-
4096
, %
rax
24
ja
.L6
25
.L3:
26
#APP
27
# 34 "../sysdeps/unix/sysv/linux/_exit.c" 1
28
hlt
29
# 0 "" 2
30
#NO_APP
31
.L4:
32
movl
%
edx
, %
edi
33
movl
%
r8d
, %
eax
34
#APP
35
# 30 "../sysdeps/unix/sysv/linux/_exit.c" 1
36
syscall
37
38
# 0 "" 2
39
#NO_APP
40
cmpq $
-
4096
, %
rax
41
jbe
.L2
42
negl
%
eax
43
movl
%
eax
, %
fs
:(%
r9
)
44
jmp
.L2
45
.p2align 4,,10
46
.p2align 3
47
.L6:
48
negl
%
eax
49
movl
%
eax
, %
fs
:(%
r9
)
50
jmp
.L3
51
.size _exit, .-_exit
52
.weak _Exit
53
.set _Exit,_exit