2009-02-26 Christophe Lyon <christophe.lyon@st.com>
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / farcall-thumb-thumb-pic-veneer.d
index f97671bbf022263d314c730de33b030b7ddd45d9..c96ea3f19a4a3831dd7e48e5344e8864a678de51 100644 (file)
@@ -1,5 +1,22 @@
-#name: Thumb-Thumb farcall without BLX (PIC veneer)
-#source: farcall-thumb-thumb.s
-#as: -march=armv4t
-#ld: -Ttext 0x1000 --section-start .foo=0x2001014 --pic-veneer
-#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            lsls    r0, r0, #0
+       ...
+
+00001008 <__bar_veneer>:
+    1008:      b401            push    {r0}
+    100a:      4802            ldr     r0, \[pc, #8\]  \(1014 <__bar_veneer\+0xc>\)
+    100c:      46fc            mov     ip, pc
+    100e:      4484            add     ip, r0
+    1010:      bc01            pop     {r0}
+    1012:      4760            bx      ip
+    1014:      02000005        .word   0x02000005
+
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014:      4770            bx      lr
This page took 0.023311 seconds and 4 git commands to generate.