1 # Check handling of R_ARM_TLS_LE32 relocation.
2 # RUN: yaml2obj -format=elf %s > %t-o.o
3 # RUN: lld -flavor gnu -target arm -m armelf_linux_eabi -Bstatic \
4 # RUN: --noinhibit-exec %t-o.o -o %t
5 # RUN: llvm-objdump -s -t %t | FileCheck %s
7 # CHECK: Contents of section .text:
8 # CHECK: 4000b4 {{[0-9a-f]+}} 08000000
10 # CHECK: SYMBOL TABLE:
11 # CHECK: 00400094 g F .text {{[0-9a-f]+}} main
12 # CHECK: 00000000 g .tdata 00000004 i
20 Flags: [ EF_ARM_EABI_VER5 ]
24 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
25 AddressAlign: 0x0000000000000004
26 Content: 04B02DE500B08DE2703F1DEE10209FE5023093E70300A0E100D04BE204B09DE41EFF2FE100000000
30 AddressAlign: 0x0000000000000004
33 - Offset: 0x0000000000000024
39 Flags: [ SHF_WRITE, SHF_ALLOC ]
40 AddressAlign: 0x0000000000000001
44 Flags: [ SHF_WRITE, SHF_ALLOC ]
45 AddressAlign: 0x0000000000000001
49 Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
50 AddressAlign: 0x0000000000000004
57 Size: 0x0000000000000004