1 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
3 # RUN: %S/Inputs/relocatable-tls.s -o %t2.o
5 # RUN: ld.lld -r %t2.o -o %t3.r
6 # RUN: llvm-objdump -t %t3.r | FileCheck --check-prefix=RELOCATABLE %s
7 # RELOCATABLE: SYMBOL TABLE:
8 # RELOCATABLE: 0000000000000000 *UND* 00000000 __tls_get_addr
10 # RUN: ld.lld -shared %t2.o %t3.r -o %t4.out
11 # RUN: llvm-objdump -t %t4.out | FileCheck --check-prefix=DSO %s
13 # DSO: 0000000000000000 *UND* 00000000 __tls_get_addr
15 callq __tls_get_addr@PLT