19 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o3# RUN: ld.lld %t.o -shared -o %t.so4# RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck %s5 6# CHECK: 11ef: movl (%eax), %eax7 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), %eax11 calll __tls_get_addr@PLT12 movl i@DTPOFF(%eax), %eax # R_386_TLS_LDO_3213 14.section .tbss,"awT",@nobits15.globl i16i:17 .long 018 .size i, 419