[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / i386-tls-le-align.s
blob20ee1ec4002d6a340ab18014d8570c4f5e9009ba
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o
3 # RUN: ld.lld %t.o -o %t
4 # RUN: llvm-objdump -d --no-show-raw-insn --print-imm-hex %t | FileCheck %s
6 # -alignTo(p_memsz, p_align) = -alignTo(4, 64) = -64
8 # CHECK: movl %gs:0xffffffc0, %eax
9 movl %gs:a@NTPOFF, %eax
11 # CHECK-NEXT: subl $0x40, %edx
12 subl $a@tpoff, %edx
14 # GD to LE relaxation.
15 # CHECK-NEXT: movl %gs:0x0, %eax
16 # CHECK-NEXT: subl $0x40, %eax
17 leal a@tlsgd(,%ebx,1), %eax
18 call ___tls_get_addr@plt
19 ret
21 .globl ___tls_get_addr
22 .type ___tls_get_addr,@function
23 ___tls_get_addr:
25 .section .tbss,"awT"
26 .align 64
28 .long 0
29 .size a, 4