From d3626fb08bd9456f3252ed95d31f67f83c833cfd Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Thu, 2 Apr 2009 14:12:46 +0000 Subject: 2009-04-02 Christophe Lyon bfd/ * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb, elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long branch stubs. (elf32_arm_stub_type): New enum values for the two new stubs. (arm_type_of_stub): Make use of the two new stubs. (arm_size_one_stub): Handle the two new stubs. testsuite/ * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected results. * ld-arm/farcall-thumb-thumb.d: Likewise. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d | 14 +++++++------- ld/testsuite/ld-arm/farcall-thumb-thumb.d | 10 ++++------ 3 files changed, 17 insertions(+), 13 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 00d9722..60ed315 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-04-02 Christophe Lyon + + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected + results. + * ld-arm/farcall-thumb-thumb.d: Likewise. + 2009-04-02 Nick Clifton PR 9987 diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d index c96ea3f..96549a5 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d @@ -8,13 +8,13 @@ Disassembly of section .text: ... 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 + 1008: 4778 bx pc + 100a: 46c0 nop \(mov r8, r8\) + 100c: e59fc004 ldr ip, \[pc, #4\] ; 1018 <__bar_veneer\+0x10> + 1010: e08fc00c add ip, pc, ip + 1014: e12fff1c bx ip + 1018: 01fffffd .word 0x01fffffd + 101c: 00000000 .word 0x00000000 Disassembly of section .foo: diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb.d b/ld/testsuite/ld-arm/farcall-thumb-thumb.d index c98f00a..e4a96ea 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb.d @@ -8,12 +8,10 @@ Disassembly of section .text: \.\.\. 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 + 1008: 4778 bx pc + 100a: 46c0 nop \(mov r8, r8\) + 100c: e59fc000 ldr ip, \[pc, #0\] ; 1014 <__bar_veneer\+0xc> + 1010: e12fff1c bx ip 1014: 02001015 .word 0x02001015 Disassembly of section .foo: -- cgit v1.1