3 .globl __cxa_thread_atexit_impl
4 .type __cxa_thread_atexit_impl, @function
5 __cxa_thread_atexit_impl
:
18 # 102 "cxa_thread_atexit_impl.c" 1
23 cmpq $
0, __pthread_mutex_lock@GOTPCREL
(%rip
)
27 movq
%fs:tls_dtor_list@tpoff
, %rax
28 movq
%rbx
, %fs:tls_dtor_list@tpoff
31 leaq _dl_load_lock
(%rip
), %rdi
32 call __pthread_mutex_lock@PLT
36 movq
%fs:lm_cache@tpoff
, %rax
38 lock addq $
1, 1128(%rax
)
39 cmpq $
0, __pthread_mutex_unlock@GOTPCREL
(%rip
)
41 leaq _dl_load_lock
(%rip
), %rdi
42 call __pthread_mutex_unlock@PLT
44 movq
%fs:lm_cache@tpoff
, %rax
57 call _dl_find_dso_for_object@PLT
59 cmove _dl_ns
(%rip
), %rax
60 movq
%rax
, %fs:lm_cache@tpoff
62 .size __cxa_thread_atexit_impl, .-__cxa_thread_atexit_impl
64 .weak __call_tls_dtors
65 .hidden __call_tls_dtors
66 .type __call_tls_dtors, @function
69 movq
%fs:tls_dtor_list@tpoff
, %rbx
79 # 151 "cxa_thread_atexit_impl.c" 1
84 movq
%rdx
, %fs:tls_dtor_list@tpoff
87 lock subq $
1, 1128(%rax
)
90 movq
%fs:tls_dtor_list@tpoff
, %rbx
96 .size __call_tls_dtors, .-__call_tls_dtors
97 .section .tbss,"awT",@nobits
99 .type lm_cache, @object
104 .type tls_dtor_list, @object
105 .size tls_dtor_list, 8
108 .weak __pthread_mutex_unlock
109 .weak __pthread_mutex_lock