]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/tls-error.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / tls-error.s
1 // REQUIRES: x86
2 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 // RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
4 // CHECK: R_X86_64_TPOFF32 out of range
5
6 .global _start
7 _start:
8         movl %fs:a@tpoff, %eax
9 .global a
10 .section        .tbss,"awT",@nobits
11 a:
12 .zero 0x80000001