aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/tls-gdierelax2.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/tls-gdierelax2.d')
-rw-r--r--ld/testsuite/ld-arm/tls-gdierelax2.d23
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/tls-gdierelax2.d b/ld/testsuite/ld-arm/tls-gdierelax2.d
new file mode 100644
index 0000000..055aad8
--- /dev/null
+++ b/ld/testsuite/ld-arm/tls-gdierelax2.d
@@ -0,0 +1,23 @@
+
+tmpdir/tls-app-rel-ie2: file format elf32-.*arm
+architecture: arm, flags 0x[0-9a-f]+:
+HAS_SYMS, DYNAMIC, D_PAGED
+start address 0x[0-9a-f]+
+
+Disassembly of section .text:
+
+[0-9a-f]+ <foo>:
+ [0-9a-f]+: e1a00000 nop ; .*
+ [0-9a-f]+: e59f0004 ldr r0, \[pc, #4\] ; .*
+ [0-9a-f]+: e79f0000 ldr r0, \[pc, r0\]
+ [0-9a-f]+: e1a00000 nop ; .*
+ [0-9a-f]+: 00008098 .word 0x00008098
+ [0-9a-f]+: 0000809c .word 0x0000809c
+
+[0-9a-f]+ <bar>:
+ [0-9a-f]+: 4801 ldr r0, \[pc, #4\] ; .*
+ [0-9a-f]+: 4478 add r0, pc
+ [0-9a-f]+: 6800 ldr r0, \[r0, #0\]
+ [0-9a-f]+: 46c0 nop ; .*
+ [0-9a-f]+: 0000808a .word 0x0000808a
+ [0-9a-f]+: 0000808c .word 0x0000808c