PR ld/1775
[binutils/xnox.git] / gas / testsuite / gas / arm / tls.d
blob5b41109292cb359a684a237054a76efdb6a924d3
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 # VxWorks needs a special variant of this file.
6 #skip: *-*-vxworks*
8 # Test generation of TLS relocations
10 .*: +file format .*arm.*
12 Disassembly of section .text:
14 00+0 <main>:
15 0: e1a00000 nop \(mov r0,r0\)
16 4: e1a00000 nop \(mov r0,r0\)
17 8: e1a0f00e mov pc, lr
18 c: 00000000 andeq r0, r0, r0
19 c: R_ARM_TLS_GD32 a
20 10: 00000004 andeq r0, r0, r4
21 10: R_ARM_TLS_LDM32 b
22 14: 00000008 andeq r0, r0, r8
23 14: R_ARM_TLS_IE32 c
24 18: 00000000 andeq r0, r0, r0
25 18: R_ARM_TLS_LE32 d