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]
/
dirent
/
closedir.shared.s
blob
f32ebbf57b25f5ef47f6da3f09ca91f4eb87522b
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl __closedir
9
.hidden __closedir
10
.type __closedir, @function
11
__closedir
:
12
testq
%
rdi
, %
rdi
13
je
.L5
14
pushq
%
rbx
15
movl
(%
rdi
), %
ebx
16
call free@PLT
17
movl
%
ebx
, %
edi
18
popq
%
rbx
19
jmp __GI___close_nocancel
20
.p2align 4,,10
21
.p2align 3
22
.L5:
23
movq __libc_errno@gottpoff
(%
rip
), %
rax
24
movl $
22
, %
fs
:(%
rax
)
25
movl $
-
1
, %
eax
26
ret
27
.size __closedir, .-__closedir
28
.weak closedir
29
.set closedir,__closedir