3 .type call_destructors, @function
20 leaq
0(%rbp
,%rdx
,8), %rbx
46 .size call_destructors, .-call_destructors
47 .section .rodata.str1.1,"aMS",@progbits,1
51 .string "! should_be_there"
53 .string "old_map->l_tls_modid == idx"
56 .type remove_slotinfo, @function
74 movq
4040+_rtld_local
(%rip
), %rax
82 leaq
8(%rbp
,%rax
), %rax
109 cmpq
%rdi
, 1120(%rdx
)
111 movq
4088+_rtld_local
(%rip
), %rsi
116 cmpq
%rdi
, 4024+_rtld_local
(%rip
)
127 movq
%rdi
, 4024+_rtld_local
(%rip
)
141 leaq __PRETTY_FUNCTION__.10749
(%rip
), %rcx
142 leaq
.LC0(%rip), %rsi
143 leaq
.LC1(%rip), %rdi
145 call __GI___assert_fail
147 leaq __PRETTY_FUNCTION__.10749
(%rip
), %rcx
148 leaq
.LC0(%rip), %rsi
149 leaq
.LC2(%rip), %rdi
151 call __GI___assert_fail
152 .size remove_slotinfo, .-remove_slotinfo
153 .section .rodata.str1.8,"aMS",@progbits,1
156 .string "\nclosing file=%s; direct_opencount=%u\n"
157 .section .rodata.str1.1
159 .string "idx == nloaded"
160 .section .rodata.str1.8
163 .string "(*lp)->l_idx >= 0 && (*lp)->l_idx < nloaded"
166 .string "jmap->l_idx >= 0 && jmap->l_idx < nloaded"
167 .section .rodata.str1.1
169 .string "imap->l_ns == nsid"
170 .section .rodata.str1.8
173 .string "imap->l_type == lt_loaded && !imap->l_nodelete_active"
174 .section .rodata.str1.1
176 .string "\ncalling fini: %s [%lu]\n\n"
178 .string "tmap->l_ns == nsid"
180 .string "cannot create scope list"
184 .string "imap->l_type == lt_loaded"
186 .string "nsid != LM_ID_BASE"
187 .section .rodata.str1.8
190 .string "\nfile=%s [%lu]; destroying link map\n"
193 .string "TLS generation counter wrapped! Please report as described in <https://www.gnu.org/software/libc/bugs.html>.\n"
196 .globl _dl_close_worker
197 .hidden _dl_close_worker
198 .type _dl_close_worker, @function
201 movabsq $
8589934592, %rcx
210 movb
%sil
, -113(%rbp
)
212 movabsq $
17179869183, %rax
219 testb $
64, _rtld_local_ro
(%rip
)
231 movl dl_close_state.10771
(%rip
), %r14d
237 leaq
(%r15,%r15,8), %rdx
240 leaq
(%r15,%rdx
,2), %rdx
241 movq
%rbx
, -176(%rbp
)
242 leaq _rtld_local
(%rip
), %rbx
244 leaq
40(%rbx
,%rdx
), %rcx
246 movq
%rbx
, -144(%rbp
)
247 movq
%rcx
, -112(%rbp
)
249 movq
-144(%rbp
), %rsi
250 movq
%rsp
, -160(%rbp
)
252 movl $
1, dl_close_state.10771
(%rip
)
261 leaq
22(,%r13,8), %rax
270 leaq
0(,%rbx
,8), %rcx
276 movl
%edx
, 1012(%rax
)
289 movl
%r11d
, -72(%rbp
)
296 movl
-72(%rbp
), %r11d
299 movabsq $
8589934592, %r9
312 movq
(%rcx
,%rax
,8), %rcx
330 movslq
1012(%rax
), %rax
341 movl
1012(%rax
), %eax
379 movq
8(%rsi
,%rax
,8), %r8
380 movslq
1012(%r8), %rax
386 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
387 leaq
.LC0(%rip), %rsi
388 leaq
.LC6(%rip), %rdi
390 call __GI___assert_fail
392 movl $
2, dl_close_state.10771
(%rip
)
399 movq
1128(%rcx
), %rdx
412 addq
-176(%rbp
), %rdi
419 movl
%r11d
, -64(%rbp
)
421 movl
800+_rtld_local_ro
(%rip
), %r10d
423 movl
-64(%rbp
), %r11d
427 movq
-144(%rbp
), %rax
429 movzbl
797(%rax
), %eax
437 movq
0(,%rbx
,8), %rbx
446 movl
%eax
, -164(%rbp
)
448 movl
%r11d
, -120(%rbp
)
460 testb $
2, _rtld_local_ro
(%rip
)
466 leaq call_destructors
(%rip
), %rsi
469 call _dl_catch_exception@PLT
475 movzbl
796(%rbx
), %eax
488 movq
8(%rax
,%r14,8), %rbx
493 movzbl
796(%rbx
), %eax
521 cmpq
-656(%rax
), %r15
544 movq
%rax
, -128(%rbp
)
550 movq
%rdx
, -152(%rbp
)
551 movb
%r9b
, -115(%rbp
)
552 movq
%rax
, -136(%rbp
)
553 leaq
0(,%rax
,8), %rdi
554 call
*__rtld_malloc
(%rip
)
556 movzbl
-115(%rbp
), %r9d
557 movq
-152(%rbp
), %rdx
565 movb
%r9b
, -115(%rbp
)
575 leaq
8(%rax
,%r11), %rdi
586 leaq
(%rax
,%r11), %rdi
595 leaq
8(%rax
,%r11), %rdi
599 movzbl
-115(%rbp
), %r9d
601 cmpq
%r10, -128(%rbp
)
608 movzbl
-114(%rbp
), %eax
613 movq
-136(%rbp
), %rax
630 movl
-120(%rbp
), %r11d
631 movl
%r13d
, -64(%rbp
)
634 cmpl $
2, dl_close_state.10771
(%rip
)
636 movq
-160(%rbp
), %rsp
647 movl
800+_rtld_local_ro
(%rip
), %r8d
648 movq
792+_rtld_local_ro
(%rip
), %rcx
652 movl
%r13d
, -76(%rbp
)
653 movl
%r12d
, -104(%rbp
)
664 leaq
2568+_rtld_local
(%rip
), %rcx
668 leaq
1160(%r12,%rdi
), %rdi
674 cmpl 800+_rtld_local_ro
(%rip
), %ebx
678 movl
-76(%rbp
), %r13d
679 movl
-104(%rbp
), %r12d
687 leaq
(%rcx
,%rdx
), %rdi
710 cmpq $
0, (%rdx
,%rsi
,8)
722 movq
%rax
, -104(%rbp
)
729 leaq
.LC9(%rip), %rdi
732 call _dl_debug_printf
735 movb
%r9b
, -114(%rbp
)
738 movq
-128(%rbp
), %rax
748 movq
%r10, -128(%rbp
)
749 movl
%r11d
, -72(%rbp
)
750 call _dl_debug_initialize
752 movq
%rax
, -104(%rbp
)
753 call __GI__dl_debug_state
755 movl
-72(%rbp
), %r11d
756 movq
-128(%rbp
), %r10
769 movl
%r11d
, -72(%rbp
)
770 leaq
2480+_rtld_local
(%rip
), %rdi
771 call
*3984+_rtld_local
(%rip
)
772 movl
-72(%rbp
), %r11d
773 cmpl -64(%rbp
), %r11d
778 movl
-164(%rbp
), %r14d
782 movq
%r15, -128(%rbp
)
784 leaq
(%r10,%rax
), %rbx
785 leaq
(%rsi
,%rax
,8), %r13
786 leaq
1(%r10,%rax
), %rax
789 movq
-144(%rbp
), %r14
797 movzbl
796(%r12), %eax
807 movq
-112(%rbp
), %rdi
808 call
*3984+_rtld_local
(%rip
)
838 movq
-112(%rbp
), %rdi
839 call
*3992+_rtld_local
(%rip
)
856 call
*__rtld_free
(%rip
)
860 call
*__rtld_free
(%rip
)
863 call
*__rtld_free
(%rip
)
864 testb $
64, _rtld_local_ro
(%rip
)
868 call
*__rtld_free
(%rip
)
870 movq __rtld_free
(%rip
), %rax
879 movq __rtld_free
(%rip
), %rax
890 call
*__rtld_free
(%rip
)
893 movq __rtld_free
(%rip
), %rax
897 movq __rtld_free
(%rip
), %rax
903 movq __rtld_free
(%rip
), %rax
909 movq __rtld_free
(%rip
), %rax
911 cmpq
2528+_rtld_local
(%rip
), %r12
921 movq
-128(%rbp
), %r15
922 leaq
2480+_rtld_local
(%rip
), %rdi
923 call
*3992+_rtld_local
(%rip
)
926 movq
4088+_rtld_local
(%rip
), %rax
929 movq
%rax
, 4088+_rtld_local
(%rip
)
932 cmpq
%rax
, 4056+_rtld_local
(%rip
)
935 movq
%rax
, 4056+_rtld_local
(%rip
)
937 movq
-144(%rbp
), %rax
946 movq
-104(%rbp
), %rax
948 call __GI__dl_debug_state
954 movq
-104(%rbp
), %rcx
959 movq $
0, 2528+_rtld_local
(%rip
)
964 leaq
.LC15(%rip), %rdi
966 call _dl_debug_printf
969 movq
4032+_rtld_local
(%rip
), %rsi
973 movq
1120(%r12), %rdi
980 movq
4040+_rtld_local
(%rip
), %rax
981 movq
%rax
, 4024+_rtld_local
(%rip
)
983 movq
1112(%r12), %rax
984 movzbl
-76(%rbp
), %ecx
995 subq
1088(%r12), %rdx
1001 movq
%rax
, -72(%rbp
)
1003 movq
%rdx
, -96(%rbp
)
1010 leaq
.LC3(%rip), %rdi
1012 call _dl_debug_printf
1015 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1016 leaq
.LC0(%rip), %rsi
1017 leaq
.LC5(%rip), %rdi
1019 call __GI___assert_fail
1021 movq
-144(%rbp
), %rax
1029 movq
(%rdx
,%rcx
,8), %rcx
1030 testb $
32, 797(%rcx
)
1038 movq
(%rdx
,%rdi
,8), %rdi
1039 testb $
32, 797(%rdi
)
1053 movq
-72(%rbp
), %rsi
1056 movq
4056+_rtld_local
(%rip
), %rcx
1061 cmpq
-72(%rbp
), %rax
1063 movq
%rax
, -72(%rbp
)
1064 movq
%rdx
, -96(%rbp
)
1066 movzbl
-76(%rbp
), %eax
1072 movl
-96(%rbp
), %ebx
1073 leal
(%rax
,%rbx
), %ecx
1081 movq
(%rdx
,%rcx
,8), %rsi
1082 testb $
32, 797(%rsi
)
1087 movq
%rsi
, (%rdx
,%rdi
,8)
1096 leaq
.LC16(%rip), %rdi
1097 call __GI__dl_fatal_printf
1099 movq
%rax
, -72(%rbp
)
1100 movzbl
-76(%rbp
), %eax
1101 movq
-96(%rbp
), %rcx
1102 movq
%rdx
, -96(%rbp
)
1103 movq
%rcx
, 4056+_rtld_local
(%rip
)
1107 movq
%rax
, -72(%rbp
)
1108 movzbl
-76(%rbp
), %eax
1112 movq
2432+_rtld_local
(%rip
), %rdx
1116 imulq $
152, %rdx
, %rdx
1117 leaq _rtld_local
(%rip
), %rbx
1118 leaq
-304(%rbx
,%rdx
), %rdx
1128 movq
%rax
, 2432+_rtld_local
(%rip
)
1137 cmpl $
0, 800+_rtld_local_ro
(%rip
)
1138 movq
792+_rtld_local_ro
(%rip
), %r14
1141 leaq
2568+_rtld_local
(%rip
), %rbx
1150 cmpl 800+_rtld_local_ro
(%rip
), %r13d
1161 leaq
1160(%r12,%rcx
), %rdi
1164 leaq _rtld_local
(%rip
), %rcx
1166 leaq
(%rcx
,%rax
), %rdi
1171 movl
-96(%rbp
), %ecx
1176 movq
4104+_rtld_local
(%rip
), %rax
1182 movq
%r10, -96(%rbp
)
1183 movl
%r11d
, -72(%rbp
)
1184 call __thread_gscope_wait
1185 movq
4104+_rtld_local
(%rip
), %rbx
1186 movl
-72(%rbp
), %r11d
1187 movq
-96(%rbp
), %r10
1198 movq
8(%rbx
,%rax
,8), %rdi
1199 call
*__rtld_free
(%rip
)
1209 leaq
2480+_rtld_local
(%rip
), %rdi
1210 call
*3992+_rtld_local
(%rip
)
1213 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1214 leaq
.LC0(%rip), %rsi
1215 leaq
.LC10(%rip), %rdi
1217 call __GI___assert_fail
1219 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1220 leaq
.LC0(%rip), %rsi
1221 leaq
.LC8(%rip), %rdi
1223 call __GI___assert_fail
1225 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1226 leaq
.LC0(%rip), %rsi
1227 leaq
.LC7(%rip), %rdi
1229 call __GI___assert_fail
1231 movl $
0, dl_close_state.10771
(%rip
)
1232 movq
-160(%rbp
), %rsp
1235 movq
-144(%rbp
), %rax
1239 cmpl $
0, 800+_rtld_local_ro
(%rip
)
1241 movq
792+_rtld_local_ro
(%rip
), %r12
1242 leaq
2568+_rtld_local
(%rip
), %r14
1252 leaq
1160(%r13,%rcx
), %rdi
1255 leaq _rtld_local
(%rip
), %rcx
1257 leaq
(%rcx
,%rax
), %rdi
1259 movq
%r10, -104(%rbp
)
1260 movl
%r11d
, -72(%rbp
)
1263 movq
-104(%rbp
), %r10
1264 movl
-72(%rbp
), %r11d
1267 cmpl 800+_rtld_local_ro
(%rip
), %ebx
1272 imulq $
152, %r15, %rax
1273 leaq _rtld_local
(%rip
), %rbx
1274 movq
(%rbx
,%rax
), %r12
1277 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1278 leaq
.LC0(%rip), %rsi
1279 leaq
.LC4(%rip), %rdi
1281 call __GI___assert_fail
1283 leaq
.LC11(%rip), %rcx
1284 leaq
.LC12(%rip), %rsi
1287 call _dl_signal_error@PLT
1289 movzbl
-76(%rbp
), %eax
1290 movq
%rdx
, 4056+_rtld_local
(%rip
)
1294 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1295 leaq
.LC0(%rip), %rsi
1296 leaq
.LC14(%rip), %rdi
1298 call __GI___assert_fail
1303 leaq __PRETTY_FUNCTION__.10785
(%rip
), %rcx
1304 leaq
.LC0(%rip), %rsi
1305 leaq
.LC13(%rip), %rdi
1307 call __GI___assert_fail
1308 .size _dl_close_worker, .-_dl_close_worker
1309 .section .rodata.str1.1
1311 .string "shared object not open"
1316 .type _dl_close, @function
1320 leaq
2440+_rtld_local
(%rip
), %rdi
1321 call
*3984+_rtld_local
(%rip
)
1324 movl
792(%rbx
), %eax
1329 call _dl_close_worker
1332 leaq
2440+_rtld_local
(%rip
), %rdi
1333 jmp
*3992+_rtld_local
(%rip
)
1337 leaq
2440+_rtld_local
(%rip
), %rdi
1338 call
*3992+_rtld_local
(%rip
)
1340 leaq
.LC17(%rip), %rcx
1343 call _dl_signal_error@PLT
1344 .size _dl_close, .-_dl_close
1345 .section .rodata.str1.16,"aMS",@progbits,1
1347 .type __PRETTY_FUNCTION__.10749, @object
1348 .size __PRETTY_FUNCTION__.10749, 16
1349 __PRETTY_FUNCTION__.10749
:
1350 .string "remove_slotinfo"
1352 .type __PRETTY_FUNCTION__.10785, @object
1353 .size __PRETTY_FUNCTION__.10785, 17
1354 __PRETTY_FUNCTION__.10785
:
1355 .string "_dl_close_worker"
1356 .local dl_close_state.10771
1357 .comm dl_close_state.10771,4,4
1358 .hidden __thread_gscope_wait
1361 .hidden _dl_debug_initialize
1362 .hidden _dl_debug_printf
1363 .hidden _dl_scope_free
1364 .hidden __rtld_malloc
1365 .hidden _dl_sort_maps
1366 .hidden _rtld_local_ro