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
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
21 .globl ___tls_get_addr
22 .type ___tls_get_addr,@function