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.s
blob
492f58c141cd1f032209774482e8bc15df31701a
1
.text
2
.p2align 4,,15
3
.globl __closedir
4
.hidden __closedir
5
.type __closedir, @function
6
__closedir
:
7
testq
%
rdi
, %
rdi
8
je
.L5
9
pushq
%
rbx
10
movl
(%
rdi
), %
ebx
11
call free@PLT
12
movl
%
ebx
, %
edi
13
popq
%
rbx
14
jmp __close_nocancel
15
.p2align 4,,10
16
.p2align 3
17
.L5:
18
movq __libc_errno@gottpoff
(%
rip
), %
rax
19
movl $
22
, %
fs
:(%
rax
)
20
movl $
-
1
, %
eax
21
ret
22
.size __closedir, .-__closedir
23
.weak closedir
24
.set closedir,__closedir
25
.hidden __close_nocancel