clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_getstack.s
blobb6a9c6dbdb9174735e21e4737a994224450a0118
1 .text
2 .p2align 4,,15
3 .globl __pthread_attr_getstack
4 .type __pthread_attr_getstack, @function
5 __pthread_attr_getstack:
6 movq 32(%rdi), %rcx
7 movq 24(%rdi), %rax
8 subq %rcx, %rax
9 movq %rax, (%rsi)
10 movq %rcx, (%rdx)
11 xorl %eax, %eax
12 ret
13 .size __pthread_attr_getstack, .-__pthread_attr_getstack
14 .globl pthread_attr_getstack
15 .set pthread_attr_getstack,__pthread_attr_getstack