2 # RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o
3 # RUN: ld.lld %t.o -shared -o %t.so
4 # RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck %s
6 # CHECK: 11ef: movl (%eax), %eax
8 # We used to error on R_386_TLS_LDO_32 to preemptable symbols.
9 # i is STB_GLOBAL and preemptable.
10 leal i@TLSLDM
(%ebx
), %eax
11 calll __tls_get_addr@PLT
12 movl i@DTPOFF
(%eax
), %eax
# R_386_TLS_LDO_32
14 .section .tbss,"awT",@nobits