daily update
[external/binutils.git] / ld / testsuite / ld-arm / thumb2-bl-bad-noeabi.d
index 0fc6e04..8872909 100644 (file)
@@ -1,4 +1,22 @@
-#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 f802       bl      1008 <__bar_veneer>
+    1004:      0000            movs    r0, r0
+       ...
+
+00001008 <__bar_veneer>:
+    1008:      b401            push    {r0}
+    100a:      4802            ldr     r0, \[pc, #8\]  \(1014 <__bar_veneer\+0xc>\)
+    100c:      4684            mov     ip, r0
+    100e:      bc01            pop     {r0}
+    1010:      4760            bx      ip
+    1012:      bf00            nop
+    1014:      0100100d        .word   0x0100100d
+
+Disassembly of section .foo:
+
+0100100c <bar>:
+ 100100c:      4770            bx      lr