3 # RUN: llvm-mc -triple=x86_64-windows-gnu %S/Inputs/tlssup.s -filetype=obj -o %t.tlssup.o
4 # RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.main.o
6 # RUN: lld-link -lldmingw -entry:main %t.main.o %t.tlssup.o -out:%t.exe
7 # RUN: llvm-objdump -s %t.exe | FileCheck %s
9 # Check that .tls$$foo is sorted after the start marker (aa) and before the
12 # CHECK: Contents of section .tls:
13 # CHECK: 140004000 aabbff
18 movl _tls_index
(%rip
), %eax
20 movq
(%rcx
,%rax
,8), %rax
21 movb foo@SECREL32
(%rax
), %al
24 .section .tls$$foo,"dw"