1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o 3# RUN: ld.lld --noinhibit-exec %t.o -o %t 2>&1 4# RUN: llvm-objdump -d %t | FileCheck %s 5 6## Undefined TLS symbols resolve to 0. 7## In --noinhibit-exec mode, a non-weak undefined symbol is not an error. 8 9# CHECK: leaq 32(%rax), %rdx 10 11movq %fs:0, %rax 12leaq global@tpoff+32(%rax), %rdx 13