2 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
3 # RUN: not %lld -o /dev/null %t.o 2>&1 | FileCheck %s
5 # CHECK: error: GOT_LOAD relocation not allowed in thread-local section, must be UNSIGNED
12 .section __DATA,__thread_vars,thread_local_variables
15 movq _bar@GOTPCREL
(%rip
), %rax