clarify the purpose of this project
[nyanglibc.git] / nptl / cleanup_routine.shared.s
blob21a94d6a56b7da11bedbe719aaed07f80f45246c
1 .text
2 .p2align 4,,15
3 .globl __pthread_cleanup_routine
4 .type __pthread_cleanup_routine, @function
5 __pthread_cleanup_routine:
6 movl 16(%rdi), %edx
7 movq %rdi, %rax
8 testl %edx, %edx
9 je .L1
10 movq 8(%rdi), %rdi
11 jmp *(%rax)
12 .p2align 4,,10
13 .p2align 3
14 .L1:
15 rep ret
16 .size __pthread_cleanup_routine, .-__pthread_cleanup_routine