xref: /llvm-project/lld/test/ELF/i386-static-tls-model.s (revision fb3c1b3de5ce7342438d7451f01a14f9c52323cd)
1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model2.s -o %t.o
4# RUN: ld.lld %t.o -o %t2 -shared
5# RUN: llvm-readobj --dynamic-table %t2 | FileCheck %s
6
7# RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model3.s -o %t.o
8# RUN: ld.lld %t.o -o %t3 -shared
9# RUN: llvm-readobj --dynamic-table %t3 | FileCheck %s
10
11# CHECK: DynamicSection [
12# CHECK: FLAGS STATIC_TLS
13