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]
/
io
/
open64_2.shared.s
blob
2fc565f696ab1013124b5ebe72be0f06cb632fa5
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
.section .rodata.str1.8,
"aMS"
,@progbits,1
7
.align 8
8
.LC0:
9
.string
"invalid open64 call: O_CREAT or O_TMPFILE without mode"
10
#NO_APP
11
.text
12
.p2align 4,,15
13
.globl __open64_2
14
.type __open64_2, @function
15
__open64_2
:
16
testb $
64
, %
sil
17
jne
.L2
18
movl
%
esi
, %
eax
19
andl $
4259840
, %
eax
20
cmpl
$
4259840
, %
eax
21
je
.L2
22
xorl
%
eax
, %
eax
23
jmp __GI___open64
24
.L2:
25
leaq
.LC0(%rip), %rdi
26
subq $
8
, %
rsp
27
call __GI___fortify_fail
28
.size __open64_2, .-__open64_2