[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / i386-tls-ld-preemptable.s
blobaaec5d52c320e9bdff1d96728fdc260f4a1ddaa8
1 # REQUIRES: x86
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
15 .globl i
17 .long 0
18 .size i, 4