]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/farcall-arm-arm-pic-veneer.d
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-arm / farcall-arm-arm-pic-veneer.d
diff --git a/ld/testsuite/ld-arm/farcall-arm-arm-pic-veneer.d b/ld/testsuite/ld-arm/farcall-arm-arm-pic-veneer.d
new file mode 100644 (file)
index 0000000..f5ff227
--- /dev/null
@@ -0,0 +1,17 @@
+.*:     file format .*
+
+Disassembly of section .text:
+
+00001000 <_start>:
+    1000:      eb000000        bl      1008 <__bar_veneer>
+    1004:      00000000        andeq   r0, r0, r0
+
+00001008 <__bar_veneer>:
+    1008:      e59fc000        ldr     ip, \[pc, #0\]  ; 1010 <__bar_veneer\+0x8>
+    100c:      e08ff00c        add     pc, pc, ip
+    1010:      0200000c        .word   0x0200000c
+    1014:      00000000        .word   0x00000000
+Disassembly of section .foo:
+
+02001020 <bar>:
+ 2001020:      e12fff1e        bx      lr