* lib/gas-defs.exp (run_dump_test): If the test expects an error,
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / tls_vxworks.d
CommitLineData
9a5c4b9e
PB
1#objdump: -dr
2#name: TLS
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.
6#source: tls.s
7#not-skip: *-*-vxworks*
8
9# Test generation of TLS relocations
10
11.*: +file format .*arm.*
12
13Disassembly of section .text:
14
1500+0 <main>:
16 0: e1a00000 nop \(mov r0,r0\)
17 4: e1a00000 nop \(mov r0,r0\)
18 8: e1a0f00e mov pc, lr
19 c: 00000000 andeq r0, r0, r0
20 c: R_ARM_TLS_GD32 a
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 andeq r0, r0, r4
26 10: R_ARM_TLS_LDM32 b\+0x4
27 14: 00000008 andeq r0, r0, r8
28 14: R_ARM_TLS_IE32 c\+0x8
29 18: 00000000 andeq r0, r0, r0
30 18: R_ARM_TLS_LE32 d
This page took 0.140761 seconds and 4 git commands to generate.