aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/tls-error.s
blob: b61789901049d081f485b2d2d8138a82b74e6c9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
// RUN: not ld.lld %t -o %tout 2>&1 | FileCheck %s
// CHECK: R_X86_64_TPOFF32 out of range

.global _start
_start:
        movl %fs:a@tpoff, %eax
.global a
.section        .tbss,"awT",@nobits
a:
.zero 0x80000001