]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/farcall-thumb-arm.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-arm / farcall-thumb-arm.d
diff --git a/ld/testsuite/ld-arm/farcall-thumb-arm.d b/ld/testsuite/ld-arm/farcall-thumb-arm.d
new file mode 100644 (file)
index 0000000..fb12cf0
--- /dev/null
@@ -0,0 +1,19 @@
+.*:     file format .*
+
+Disassembly of section .text:
+
+00001000 <_start>:
+    1000:      f000 f802       bl      1008 <__bar_from_thumb>
+    1004:      0000            lsls    r0, r0, #0
+       \.\.\.
+
+00001008 <__bar_from_thumb>:
+    1008:      4778            bx      pc
+    100a:      46c0            nop                     ; \(mov r8, r8\)
+    100c:      e51ff004        ldr     pc, \[pc, #-4\] ; 1010 <__bar_from_thumb\+0x8>
+    1010:      02001014        .word   0x02001014
+    1014:      00000000        .word   0x00000000
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014:      e12fff1e        bx      lr