3 # This
test is only valid on ELF based ports
.
4 #
not-target
: *-*-*coff
*-*-pe
*-*-wince
*-*-*aout
* *-*-netbsd
*-*-riscix
*
5 # This
is the VxWorks variant of
this file
.
7 #
not-skip
: *-*-vxworks
*
9 # Test generation of TLS relocations
11 .*: +file format
.*arm
.*
13 Disassembly of section
.text
:
16 0: e1a00000
nop \
(mov r0
,r0\
)
17 4: e1a00000
nop \
(mov r0
,r0\
)
18 8: e1a0f00e
mov pc
, lr
19 c
: 00000000 .word
0x00000000
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 10: 00000004 .word 0x00000004
26 10: R_ARM_TLS_LDM32 b\+0x4
27 14: 00000008 .word 0x00000008
28 14: R_ARM_TLS_IE32 c\+0x8
29 18: 00000000 .word 0x00000000