clarify the purpose of this project
[nyanglibc.git] / misc / mkstemps.shared.s
blobffe48a8fac07e0f6f9f2f06a4716e5b2f0f03f53
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl mkstemps
9 .type mkstemps, @function
10 mkstemps:
11 testl %esi, %esi
12 js .L5
13 xorl %ecx, %ecx
14 xorl %edx, %edx
15 jmp __gen_tempname
16 .p2align 4,,10
17 .p2align 3
18 .L5:
19 movq __libc_errno@gottpoff(%rip), %rax
20 movl $22, %fs:(%rax)
21 movl $-1, %eax
22 ret
23 .size mkstemps, .-mkstemps
24 .weak mkstemps64
25 .set mkstemps64,mkstemps
26 .hidden __gen_tempname