opcodes/
[platform/upstream/binutils.git] / gas / testsuite / gas / arm / tls.d
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*
7
8 # Test generation of TLS relocations
9
10 .*: +file format .*arm.*
11
12 Disassembly of section .text:
13
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        .word   0x00000000
19                         c: R_ARM_TLS_GD32       a
20   10:   00000004        .word   0x00000004
21                         10: R_ARM_TLS_LDM32     b
22   14:   00000008        .word   0x00000008
23                         14: R_ARM_TLS_IE32      c
24   18:   00000000        .word   0x00000000
25                         18: R_ARM_TLS_LE32      d