From aed1c03afd30b7e0619b5bf835c19e86257359f7 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 25 Feb 2009 16:05:15 +0000 Subject: [PATCH] 2009-02-25 Christophe Lyon testsuite/ * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result, as stubs are now generated and the end of the .text section. * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. --- ld/testsuite/ChangeLog | 7 ++++++ .../ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d | 23 +++++++++++-------- ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d | 23 +++++++++++-------- 3 files changed, 33 insertions(+), 20 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 16a9a033b1c..a214deaf932 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2009-02-25 Christophe Lyon + + testsuite/ + * ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Update expected result, + as stubs are now generated and the end of the .text section. + * ld-arm/thumb2-bl-bad-noeabi.d: Likewise. + 2009-02-24 Daniel Jacobowitz * ld-arm/farcall-arm-thumb-blx-pic-veneer.d, diff --git a/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d b/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d index fdf9d8a7ad7..540c4529f2f 100644 --- a/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d +++ b/ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d @@ -2,17 +2,20 @@ Disassembly of section .text: -00001000 <__bar_veneer>: - 1000: b401 push {r0} - 1002: 4802 ldr r0, \[pc, #8\] \(100c <__bar_veneer\+0xc>\) - 1004: 4684 mov ip, r0 - 1006: bc01 pop {r0} - 1008: 4760 bx ip - 100a: bf00 nop - 100c: 0100100d .word 0x0100100d +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: 4684 mov ip, r0 + 100e: bc01 pop {r0} + 1010: 4760 bx ip + 1012: bf00 nop + 1014: 0100100d .word 0x0100100d -00001010 <_start>: - 1010: f7ff fff6 bl 1000 <__bar_veneer> Disassembly of section .foo: 0100100c : diff --git a/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d b/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d index fdf9d8a7ad7..540c4529f2f 100644 --- a/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d +++ b/ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d @@ -2,17 +2,20 @@ Disassembly of section .text: -00001000 <__bar_veneer>: - 1000: b401 push {r0} - 1002: 4802 ldr r0, \[pc, #8\] \(100c <__bar_veneer\+0xc>\) - 1004: 4684 mov ip, r0 - 1006: bc01 pop {r0} - 1008: 4760 bx ip - 100a: bf00 nop - 100c: 0100100d .word 0x0100100d +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: 4684 mov ip, r0 + 100e: bc01 pop {r0} + 1010: 4760 bx ip + 1012: bf00 nop + 1014: 0100100d .word 0x0100100d -00001010 <_start>: - 1010: f7ff fff6 bl 1000 <__bar_veneer> Disassembly of section .foo: 0100100c :