]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-arm / farcall-thumb-thumb-pic-veneer.d
diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d
new file mode 100644 (file)
index 0000000..8c2cddf
--- /dev/null
@@ -0,0 +1,22 @@
+.*:     file format .*
+
+Disassembly of section .text:
+
+00001000 <_start>:
+    1000:      f000 f802       bl      1008 <__bar_veneer>
+    1004:      0000            lsls    r0, r0, #0
+       ...
+
+00001008 <__bar_veneer>:
+    1008:      4778            bx      pc
+    100a:      46c0            nop                     ; \(mov r8, r8\)
+    100c:      e59fc004        ldr     ip, \[pc, #4\]  ; 1018 <__bar_veneer\+0x10>
+    1010:      e08fc00c        add     ip, pc, ip
+    1014:      e12fff1c        bx      ip
+    1018:      01fffffd        .word   0x01fffffd
+    101c:      00000000        .word   0x00000000
+
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014:      4770            bx      lr