X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-arm%2Fthumb2-bl-as-thumb1-bad.d;h=1dfca21765565f8149dbe68dd6b835a84b7b5c03;hb=906e58cab5ef4c02cbd341d913a3a07e4cba27df;hp=749b58f56672fb6c629415e831b271ad38ccca17;hpb=e95de06338c51f03d29a7fe5d2f1c374054c9e44;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d b/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d index 749b58f566..1dfca21765 100644 --- a/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d +++ b/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d @@ -1,4 +1,14 @@ -#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-0x8>: + 1000: e51ff004 ldr pc, \[pc, #-4\] ; 1004 <_start-0x4> + 1004: 0040100d .word 0x0040100d + +00001008 <_start>: + 1008: f7ff effa blx 1000 <_start-0x8> +Disassembly of section .foo: + +0040100c : + 40100c: 4770 bx lr