clarify the purpose of this project
[nyanglibc.git] / io / rtld-close_nocancel.shared.s
blob299e6a06d63f409794fc19983b3912414b35d473
1 .text
2 .p2align 4,,15
3 .globl __GI___close_nocancel
4 .hidden __GI___close_nocancel
5 .type __GI___close_nocancel, @function
6 __GI___close_nocancel:
7 movl $3, %eax
8 #APP
9 # 26 "../sysdeps/unix/sysv/linux/close_nocancel.c" 1
10 syscall
12 # 0 "" 2
13 #NO_APP
14 cmpq $-4096, %rax
15 ja .L5
16 rep ret
17 .p2align 4,,10
18 .p2align 3
19 .L5:
20 negl %eax
21 movl %eax, rtld_errno(%rip)
22 movl $-1, %eax
23 ret
24 .size __GI___close_nocancel, .-__GI___close_nocancel
25 .hidden rtld_errno