clarify the purpose of this project
[nyanglibc.git] / io / openat64_2.shared.s
blob0357a03661cab23865d7094122f3ce7303807118
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 openat64 call: O_CREAT or O_TMPFILE without mode"
10 #NO_APP
11 .text
12 .p2align 4,,15
13 .globl __openat64_2
14 .type __openat64_2, @function
15 __openat64_2:
16 testb $64, %dl
17 jne .L2
18 movl %edx, %eax
19 andl $4259840, %eax
20 cmpl $4259840, %eax
21 je .L2
22 xorl %eax, %eax
23 jmp __GI___openat64
24 .L2:
25 leaq .LC0(%rip), %rdi
26 subq $8, %rsp
27 call __GI___fortify_fail
28 .size __openat64_2, .-__openat64_2