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
/
pread64_nocancel.s
blob
c10ab6489fab488f13ffc5e8eb06fb6627952a07
1
.text
2
.p2align 4,,15
3
.globl __pread64_nocancel
4
.hidden __pread64_nocancel
5
.type __pread64_nocancel, @function
6
__pread64_nocancel
:
7
movq
%
rcx
, %
r10
8
movl $
17
, %
eax
9
#APP
10
# 26 "../sysdeps/unix/sysv/linux/pread64_nocancel.c" 1
11
syscall
12
13
# 0 "" 2
14
#NO_APP
15
cmpq $
-
4096
, %
rax
16
ja
.L4
17
rep ret
18
.p2align 4,,10
19
.p2align 3
20
.L4:
21
movq __libc_errno@gottpoff
(%
rip
), %
rdx
22
negl
%
eax
23
movl
%
eax
, %
fs
:(%
rdx
)
24
movq $
-
1
, %
rax
25
ret
26
.size __pread64_nocancel, .-__pread64_nocancel