3 # This test is only valid on ELF based ports.
4 #notarget: *-*-pe *-*-wince
5 # This is the VxWorks variant of this file.
9 # Test generation of TLS relocations
11 .*: +file format .*arm.*
13 Disassembly of section .text:
16 0: e1a00000 nop \; \(mov r0, r0\)
17 0: R_ARM_TLS_DESCSEQ af
18 4: e59f0014 ldr r0, \[pc, \#20\] ; 20 <\.arm_pool\+0x10>
19 8: fa000000 blx 8 <ae\+0x8>
21 # ??? The addend is appearing in both the RELA field and the
22 # contents. Shouldn't it be just one? bfd_install_relocation
23 # appears to write the addend into the contents unconditionally,
24 # yet somehow this does not happen for the majority of relocations.
25 c: e1a00000 nop \; \(mov r0, r0\)
27 10: 00000008 .word 0x00000008
28 10: R_ARM_TLS_GD32 aa\+0x8
29 14: 0000000c .word 0x0000000c
30 14: R_ARM_TLS_LDM32 ab\+0xc
31 18: 00000010 .word 0x00000010