clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_init.s
blob99d9a90c0bfe16ee8471f4e688dea8c06a86efa4
1 .text
2 .p2align 4,,15
3 .globl __pthread_attr_init
4 .hidden __pthread_attr_init
5 .type __pthread_attr_init, @function
6 __pthread_attr_init:
7 pxor %xmm0, %xmm0
8 pushq %rbx
9 movq $0, 48(%rdi)
10 movq %rdi, %rbx
11 movups %xmm0, (%rdi)
12 movups %xmm0, 16(%rdi)
13 movups %xmm0, 32(%rdi)
14 call __getpagesize
15 cltq
16 movq %rax, 16(%rbx)
17 xorl %eax, %eax
18 popq %rbx
19 ret
20 .size __pthread_attr_init, .-__pthread_attr_init
21 .weak pthread_attr_init
22 .set pthread_attr_init,__pthread_attr_init
23 .hidden __attr_list_lock
24 .globl __attr_list_lock
25 .bss
26 .align 4
27 .type __attr_list_lock, @object
28 .size __attr_list_lock, 4
29 __attr_list_lock:
30 .zero 4
31 .hidden __attr_list
32 .comm __attr_list,8,8
33 .hidden __getpagesize