clarify the purpose of this project
[nyanglibc.git] / nptl / libc-cleanup.s
blobbe605ef2cd4e3111cfe2ea14e7636dfb9735e3ef
1 .text
2 .p2align 4,,15
3 .globl __libc_cleanup_routine
4 .type __libc_cleanup_routine, @function
5 __libc_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 __libc_cleanup_routine, .-__libc_cleanup_routine