clarify the purpose of this project
[nyanglibc.git] / io / rtld-pread64_nocancel.shared.s
blob3f56c28cb740e7599aba332f556a407de0405695
1 .text
2 .p2align 4,,15
3 .globl __GI___pread64_nocancel
4 .hidden __GI___pread64_nocancel
5 .type __GI___pread64_nocancel, @function
6 __GI___pread64_nocancel:
7 movq %rcx, %r10
8 movl $17, %eax
9 #APP
10 # 26 "../sysdeps/unix/sysv/linux/pread64_nocancel.c" 1
11 syscall
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 negl %eax
22 movl %eax, rtld_errno(%rip)
23 movq $-1, %rax
24 ret
25 .size __GI___pread64_nocancel, .-__GI___pread64_nocancel
26 .globl __pread64_nocancel
27 .set __pread64_nocancel,__GI___pread64_nocancel
28 .hidden rtld_errno