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.
11 # CHECK-NEXT: SHF_ALLOC
12 # CHECK-NEXT: SHF_WRITE
14 # CHECK-NEXT: Address:
19 # CHECK-NEXT: AddressAlignment:
20 # CHECK-NEXT: EntrySize:
21 # CHECK-NEXT: SectionData (
22 # CHECK-NEXT: 0000: 00000000 04000000
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