summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/farcall-arm-thumb.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-arm-thumb.d')
-rw-r--r--ld/testsuite/ld-arm/farcall-arm-thumb.d17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-arm-thumb.d b/ld/testsuite/ld-arm/farcall-arm-thumb.d
new file mode 100644
index 0000000..3fc02e3
--- /dev/null
+++ b/ld/testsuite/ld-arm/farcall-arm-thumb.d
@@ -0,0 +1,17 @@
+.*: file format .*
+
+Disassembly of section .text:
+
+00001000 <_start>:
+ 1000: eb000000 bl 1008 <__bar_from_arm>
+ 1004: 00000000 andeq r0, r0, r0
+
+00001008 <__bar_from_arm>:
+ 1008: e59fc000 ldr ip, \[pc\] ; 1010 <__bar_from_arm\+0x8>
+ 100c: e12fff1c bx ip
+ 1010: 02001015 .word 0x02001015
+ 1014: 00000000 .word 0x00000000
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014: 4770 bx lr