[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / i386-tls-ie-local.s
blob2beebd0a4d523fde1f9c7b89c10b99c386a993a1
1 # REQUIRES: x86
2 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=i386-pc-linux
3 # RUN: ld.lld %t.o -o %t.so -shared
4 # RUN: llvm-readobj --relocations --sections --section-data %t.so | FileCheck %s
6 # Check initial exec access to a local symbol.
8 # CHECK: Name: .got (
9 # CHECK-NEXT: Type:
10 # CHECK-NEXT: Flags [
11 # CHECK-NEXT: SHF_ALLOC
12 # CHECK-NEXT: SHF_WRITE
13 # CHECK-NEXT: ]
14 # CHECK-NEXT: Address:
15 # CHECK-NEXT: Offset:
16 # CHECK-NEXT: Size: 8
17 # CHECK-NEXT: Link:
18 # CHECK-NEXT: Info:
19 # CHECK-NEXT: AddressAlignment:
20 # CHECK-NEXT: EntrySize:
21 # CHECK-NEXT: SectionData (
22 # CHECK-NEXT: 0000: 00000000 04000000
23 # CHECK-NEXT: )
25 # CHECK: R_386_TLS_TPOFF -
26 # CHECK-NEXT: R_386_TLS_TPOFF -
28 movl bar1@GOTNTPOFF(%eax), %ecx
29 movl bar2@GOTNTPOFF(%eax), %eax
31 .section .tdata,"awT",@progbits
32 bar1:
33 .long 42
35 bar2:
36 .long 42