clarify the purpose of this project
[nyanglibc.git] / posix / spawnattr_init.shared.s
blob150147990f66b775245f2724736707800ac0dd7e
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 __posix_spawnattr_init
9 .hidden __posix_spawnattr_init
10 .type __posix_spawnattr_init, @function
11 __posix_spawnattr_init:
12 movq $0, (%rdi)
13 movq $0, 328(%rdi)
14 movq %rdi, %rcx
15 leaq 8(%rdi), %rdi
16 xorl %eax, %eax
17 andq $-8, %rdi
18 subq %rdi, %rcx
19 addl $336, %ecx
20 shrl $3, %ecx
21 rep stosq
22 ret
23 .size __posix_spawnattr_init, .-__posix_spawnattr_init
24 .weak posix_spawnattr_init
25 .set posix_spawnattr_init,__posix_spawnattr_init