]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-arm / thumb2-bl-as-thumb1-bad.d
index 749b58f56672fb6c629415e831b271ad38ccca17..04eb99149d91dcf976781362ca20a03c8d1bed4b 100644 (file)
@@ -1,4 +1,17 @@
-#name: Thumb-2-as-Thumb-1 BL failure test
-#source: thumb2-bl-as-thumb1-bad.s
-#ld: -Ttext 0x1000 --section-start .foo=0x401004
-#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