]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/i386-static-tls-model.s
Vendor import of lld trunk r302418:
[FreeBSD/FreeBSD.git] / test / ELF / i386-static-tls-model.s
1 # REQUIRES: x86
2
3 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model1.s -o %t.o
4 # RUN: ld.lld %t.o -o %t1 -shared
5 # RUN: llvm-readobj  -dynamic-table %t1 | FileCheck %s
6
7 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model2.s -o %t.o
8 # RUN: ld.lld %t.o -o %t2 -shared
9 # RUN: llvm-readobj  -dynamic-table %t2 | FileCheck %s
10
11 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model3.s -o %t.o
12 # RUN: ld.lld %t.o -o %t3 -shared
13 # RUN: llvm-readobj  -dynamic-table %t3 | FileCheck %s
14
15 # RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %S/Inputs/i386-static-tls-model4.s -o %t.o
16 # RUN: ld.lld %t.o -o %t4 -shared
17 # RUN: llvm-readobj  -dynamic-table %t4 | FileCheck %s
18
19 # CHECK: DynamicSection [
20 # CHECK: FLAGS STATIC_TLS