clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_init.shared.s
blobb9f518fcd55a993f5b38a506b61d9d5cfeee5228
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 .symver __pthread_attr_init,pthread_attr_init@@GLIBC_2.2.5
7 #NO_APP
8 .p2align 4,,15
9 .globl __GI___pthread_attr_init
10 .hidden __GI___pthread_attr_init
11 .type __GI___pthread_attr_init, @function
12 __GI___pthread_attr_init:
13 pxor %xmm0, %xmm0
14 pushq %rbx
15 movq $0, 48(%rdi)
16 movq %rdi, %rbx
17 movups %xmm0, (%rdi)
18 movups %xmm0, 16(%rdi)
19 movups %xmm0, 32(%rdi)
20 call __GI___getpagesize
21 cltq
22 movq %rax, 16(%rbx)
23 xorl %eax, %eax
24 popq %rbx
25 ret
26 .size __GI___pthread_attr_init, .-__GI___pthread_attr_init
27 .globl __pthread_attr_init
28 .set __pthread_attr_init,__GI___pthread_attr_init
29 .hidden __attr_list_lock
30 .globl __attr_list_lock
31 .bss
32 .align 4
33 .type __attr_list_lock, @object
34 .size __attr_list_lock, 4
35 __attr_list_lock:
36 .zero 4
37 .hidden __attr_list
38 .comm __attr_list,8,8