2 # RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o
3 # RUN: ld.lld --noinhibit-exec %t.o -o %t 2>&1
4 # RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck %s
6 ## Undefined TLS symbols resolve to 0.
7 ## In --noinhibit-exec mode, a non-weak undefined symbol is not an error.
10 # CHECK: subl $0, %eax
14 subl $weak_undef@tpoff
,%eax
16 subl $undef@tpoff
,%eax