clarify the purpose of this project
[nyanglibc.git] / nptl / libc-cleanup.shared.s
blob8200675be58212c7ebbf327c08e234a86bfc74d9
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __libc_cleanup_routine
9 .type __libc_cleanup_routine, @function
10 __libc_cleanup_routine:
11 movl 16(%rdi), %edx
12 movq %rdi, %rax
13 testl %edx, %edx
14 je .L1
15 movq 8(%rdi), %rdi
16 jmp *(%rax)
17 .p2align 4,,10
18 .p2align 3
19 .L1:
20 rep ret
21 .size __libc_cleanup_routine, .-__libc_cleanup_routine