3 # This
test is only valid on ELF based ports
.
4 #
not-target
: *-*-*coff
*-*-pe
*-*-wince
*-*-*aout
* *-*-netbsd
*-*-riscix
*
5 # VxWorks needs a special variant of
this file
.
8 # Test generation of TLS relocations
10 .*: +file format
.*arm
.*
12 Disassembly of section
.text
:
16 0: R_ARM_TLS_DESCSEQ af
17 4: e59f0014 ldr r0
, \
[pc
, #
20\
] ; 20 .*
18 8: fa000000 blx
8 <ae\
+.*>
22 10: 00000008 .word
0x00000008
24 14: 0000000c
.word
0x0000000c
25 14: R_ARM_TLS_LDM32 ab
26 18: 00000010 .word
0x00000010
28 1c
: 00000000 .word
0x00000000
30 20: 00000018 .word
0x00000018
31 20: R_ARM_TLS_GOTDESC ae
35 26: R_ARM_THM_TLS_DESCSEQ tf
36 28: 4805 ldr r0
, \
[pc
, #
20\
] ; \
(40 .*\
)
37 2a
: f000 e800 blx
4 <te\
+0x4>
38 2a
: R_ARM_THM_TLS_CALL te
40 30: 00000002 .word
0x00000002
42 34: 00000006 .word
0x00000006
43 34: R_ARM_TLS_LDM32 tb
44 38: 0000000a
.word
0x0000000a
46 3c
: 00000000 .word
0x00000000
48 40: 00000017 .word
0x00000017
49 40: R_ARM_TLS_GOTDESC te