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]
/
libio
/
fileno.shared.s
blob
b434f657e736a4bd906ae8f561ea941956aa6d82
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 __GI___fileno
9
.hidden __GI___fileno
10
.type __GI___fileno, @function
11
__GI___fileno
:
12
testl $
8192
, (%
rdi
)
13
je
.L2
14
movl
112
(%
rdi
), %
eax
15
testl
%
eax
, %
eax
16
js
.L2
17
rep ret
18
.p2align 4,,10
19
.p2align 3
20
.L2:
21
movq __libc_errno@gottpoff
(%
rip
), %
rax
22
movl $
9
, %
fs
:(%
rax
)
23
movl $
-
1
, %
eax
24
ret
25
.size __GI___fileno, .-__GI___fileno
26
.globl __fileno
27
.set __fileno,__GI___fileno
28
.weak fileno_unlocked
29
.set fileno_unlocked,__fileno
30
.weak __GI_fileno
31
.hidden __GI_fileno
32
.set __GI_fileno,__fileno
33
.weak fileno
34
.set fileno,__GI_fileno