1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64 %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
11a:
12.zero 0x80000001
13