clarify the purpose of this project
[nyanglibc.git] / elf / dl-openat64.shared.s
blob68c687ebfb94f832178a8f1709098385cab61af5
1 .text
2 .section .rodata.str1.8,"aMS",@progbits,1
3 .align 8
4 .LC0:
5 .string "../sysdeps/unix/sysv/linux/dl-openat64.c"
6 .section .rodata.str1.1,"aMS",@progbits,1
7 .LC1:
8 .string "!__OPEN_NEEDS_MODE (oflag)"
9 .text
10 .p2align 4,,15
11 .globl openat64
12 .type openat64, @function
13 openat64:
14 testb $64, %dl
15 jne .L2
16 movl %edx, %eax
17 andl $4259840, %eax
18 cmpl $4259840, %eax
19 je .L2
20 movl $257, %eax
21 #APP
22 # 30 "../sysdeps/unix/sysv/linux/dl-openat64.c" 1
23 syscall
25 # 0 "" 2
26 #NO_APP
27 cmpq $-4096, %rax
28 ja .L9
29 rep ret
30 .p2align 4,,10
31 .p2align 3
32 .L9:
33 negl %eax
34 movl %eax, rtld_errno(%rip)
35 movl $-1, %eax
36 ret
37 .L2:
38 leaq __PRETTY_FUNCTION__.7351(%rip), %rcx
39 leaq .LC0(%rip), %rsi
40 leaq .LC1(%rip), %rdi
41 subq $8, %rsp
42 movl $28, %edx
43 call __GI___assert_fail
44 .size openat64, .-openat64
45 .section .rodata.str1.8
46 .align 8
47 .type __PRETTY_FUNCTION__.7351, @object
48 .size __PRETTY_FUNCTION__.7351, 9
49 __PRETTY_FUNCTION__.7351:
50 .string "openat64"
51 .hidden rtld_errno