2009-02-26 Christophe Lyon <christophe.lyon@st.com>
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / farcall-thumb-arm-pic-veneer.d
index a2c09d29b4ca6ee31ca1ce8c878312259c029e77..6ac6e5c0f9388d2bb92dedbfd000a0e6889a03ce 100644 (file)
@@ -1,5 +1,20 @@
-#name: Thumb-ARM farcall without BLX (PIC veneer)
-#source: farcall-thumb-arm.s
-#as: -march=armv4t -W
-#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_from_thumb>
+    1004:      0000            lsls    r0, r0, #0
+       ...
+
+00001008 <__bar_from_thumb>:
+    1008:      4778            bx      pc
+    100a:      46c0            nop                     \(mov r8, r8\)
+    100c:      e59fc000        ldr     ip, \[pc, #0\]  ; 1014 <__bar_from_thumb\+0xc>
+    1010:      e08cf00f        add     pc, ip, pc
+    1014:      01fffffc        .word   0x01fffffc
+
+Disassembly of section .foo:
+
+02001014 <bar>:
+ 2001014:      e12fff1e        bx      lr
This page took 0.023723 seconds and 4 git commands to generate.