]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/tls-archive.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / tls-archive.s
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
3 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/tls-mismatch.s -o %t2
4 // RUN: rm -f %t.a
5 // RUN: llvm-ar cru %t.a %t2
6 // RUN: ld.lld %t.a %t -o /dev/null
7
8 .globl _start,tlsvar
9 _start:
10   movq tlsvar@GOTTPOFF(%rip),%rdx