3 ## Allow local-dynamic R_X86_64_DTPOFF32 and R_X86_64_DTPOFF64 to preemptable symbols.
5 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
6 # RUN: ld.lld %t.o -shared -o %t.so
7 # RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t.so | FileCheck %s
9 # CHECK: leaq (%rax), %rax
10 # CHECK-NEXT: movabsq 0, %rax
12 ## i is STB_GLOBAL and preemptable.
13 leaq i@TLSLD
(%rip
), %rdi
14 callq __tls_get_addr@PLT
15 leaq i@DTPOFF
(%rax
), %rax
# R_X86_64_DTPOFF32
16 movabsq i@DTPOFF
, %rax
# R_X86_64_DTPOFF64
18 .section .tbss,"awT",@nobits