Commit | Line | Data |
---|---|---|
ba93b8ac DJ |
1 | #objdump: -dr |
2 | #name: TLS | |
9a5c4b9e PB |
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* | |
ba93b8ac DJ |
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 | |
e821645d | 18 | c: 00000000 .word 0x00000000 |
ba93b8ac | 19 | c: R_ARM_TLS_GD32 a |
e821645d | 20 | 10: 00000004 .word 0x00000004 |
ba93b8ac | 21 | 10: R_ARM_TLS_LDM32 b |
e821645d | 22 | 14: 00000008 .word 0x00000008 |
ba93b8ac | 23 | 14: R_ARM_TLS_IE32 c |
e821645d | 24 | 18: 00000000 .word 0x00000000 |
ba93b8ac | 25 | 18: R_ARM_TLS_LE32 d |