]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/relocatable-tls.s
Vendor import of lld trunk r290819:
[FreeBSD/FreeBSD.git] / test / ELF / relocatable-tls.s
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
4
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
9
10 # RUN: ld.lld -shared %t2.o %t3.r -o %t4.out
11 # RUN: llvm-objdump -t %t4.out | FileCheck --check-prefix=DSO %s
12 # DSO: SYMBOL TABLE:
13 # DSO: 0000000000000000 *UND* 00000000 __tls_get_addr
14
15 callq __tls_get_addr@PLT