]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/thumb2-bl-bad.d
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-arm / thumb2-bl-bad.d
index 0fc6e043e1fed0beb3d101df4a02915beeb524d8..89c7a550768d72a9397f63a507963a3352b1b571 100644 (file)
@@ -1,4 +1,16 @@
-#name: Thumb-2 BL failure test
-#source: thumb2-bl-bad.s
-#ld: -Ttext 0x1000 --section-start .foo=0x1001004
-#error: .*\(.text\+0x0\): relocation truncated to fit: R_ARM_THM_CALL against `bar'
+.*:     file format .*
+
+Disassembly of section .text:
+
+00001000 <_start>:
+    1000:      f000 e802       blx     1008 <__bar_veneer>
+    1004:      0000            lsls    r0, r0, #0
+       \.\.\.
+
+00001008 <__bar_veneer>:
+    1008:      e51ff004        ldr     pc, \[pc, #-4\] ; 100c <__bar_veneer\+0x4>
+    100c:      0100100d        .word   0x0100100d
+Disassembly of section .foo:
+
+0100100c <bar>:
+ 100100c:      4770            bx      lr