summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/farcall-thumb-arm-blx.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-thumb-arm-blx.d')
-rw-r--r--ld/testsuite/ld-arm/farcall-thumb-arm-blx.d16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-thumb-arm-blx.d b/ld/testsuite/ld-arm/farcall-thumb-arm-blx.d
new file mode 100644
index 0000000..4a2b36a
--- /dev/null
+++ b/ld/testsuite/ld-arm/farcall-thumb-arm-blx.d
@@ -0,0 +1,16 @@
+.*: file format .*
+
+Disassembly of section .text:
+
+01c01010 <_start>:
+ 1c01010: f300 e802 blx 1f01018 <__bar_from_thumb>
+ \.\.\.
+ 1f01014: f0ff effe blx 2001014 <bar>
+
+01f01018 <__bar_from_thumb>:
+ 1f01018: e51ff004 ldr pc, \[pc, #-4\] ; 1f0101c <__bar_from_thumb\+0x4>
+ 1f0101c: 02001014 .word 0x02001014
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014: e12fff1e bx lr