2 .section .rodata.str1.8,"aMS",@progbits,1
5 .string "cannot set %fs base address for thread-local storage"
8 .globl __libc_setup_tls
9 .type __libc_setup_tls, @function
18 movq _dl_phdr
(%rip
), %rax
19 movq _dl_ns
(%rip
), %r13
22 movq _dl_phnum
(%rip
), %rcx
25 leaq
(%rax
,%rdx
,8), %rdx
50 call _dl_tls_static_surplus_init
51 movq _dl_tls_static_surplus
(%rip
), %rax
55 leaq
-1(%rbp
,%rax
), %rax
72 call _dl_tls_static_surplus_init
73 movq _dl_tls_static_surplus
(%rip
), %rax
74 leaq
63(%rbp
,%rax
), %rsi
79 leaq
2496(%rbx
,%r14), %rdi
83 movq $
62, _dl_static_dtv
(%rip
)
89 leaq
-1(%rbp
,%r12), %rax
98 movq $
0, 40+_dl_static_dtv
(%rip
)
101 movq
%r15, 1112(%r13)
103 movq
%rdi
, 32+_dl_static_dtv
(%rip
)
106 leaq
16+_dl_static_dtv
(%rip
), %rax
108 leaq
(%rcx
,%rbx
), %rsi
120 leaq
.LC0(%rip), %rdi
125 leaq _dl_stack_user
(%rip
), %rdx
126 leaq _dl_stack_used
(%rip
), %rax
127 movq
%rdx
, _dl_stack_user
(%rip
)
128 movq
%rax
, 8+_dl_stack_used
(%rip
)
129 movq
%rax
, _dl_stack_used
(%rip
)
134 movq
%rcx
, 8+_dl_stack_user
(%rip
)
136 movq
%r12, 1096(%r13)
137 movq
%rbp
, 1088(%r13)
139 movq
%r13, 40+static_slotinfo
(%rip
)
140 movq
%r15, _dl_tls_static_used
(%rip
)
141 movq
%rax
, 1072(%r13)
143 movq
%r14, _dl_tls_static_align
(%rip
)
144 movq
%rcx
, _dl_stack_user
(%rip
)
145 movq $
64, static_slotinfo
(%rip
)
146 movq $
1, _dl_tls_max_dtv_idx
(%rip
)
147 movq
%rax
, 1080(%r13)
148 leaq static_slotinfo
(%rip
), %rax
149 movq $
1, _dl_tls_static_nelem
(%rip
)
150 movq
%rax
, _dl_tls_dtv_slotinfo_list
(%rip
)
151 movq _dl_tls_static_surplus
(%rip
), %rax
152 leaq
63(%r15,%rax
), %rax
155 movq
%rax
, _dl_tls_static_size
(%rip
)
170 .size __libc_setup_tls, .-__libc_setup_tls
171 .comm _dl_tls_generation,8,8
172 .comm _dl_tls_static_optional,8,8
173 .comm _dl_tls_static_surplus,8,8
174 .comm _dl_tls_static_align,8,8
175 .comm _dl_tls_static_used,8,8
176 .comm _dl_tls_static_size,8,8
177 .comm _dl_tls_static_nelem,8,8
178 .comm _dl_tls_dtv_slotinfo_list,8,8
179 .comm _dl_tls_dtv_gaps,1,1
180 .comm _dl_tls_max_dtv_idx,8,8
181 .local static_slotinfo
182 .comm static_slotinfo,1040,16
183 .comm _dl_static_dtv,1024,32
186 .hidden _dl_tls_static_surplus_init