diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-02-24 22:44:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-02-24 22:44:18 +0000 |
commit | cf3eccff18d451bf1a9454e72068f97d7467e5ff (patch) | |
tree | 3b3ddda025437819d46feb714075f44bd9228be8 /ld/testsuite | |
parent | 07d72278cd2622807aca8bf84f06667bb1c4df96 (diff) | |
download | gdb-cf3eccff18d451bf1a9454e72068f97d7467e5ff.zip gdb-cf3eccff18d451bf1a9454e72068f97d7467e5ff.tar.gz gdb-cf3eccff18d451bf1a9454e72068f97d7467e5ff.tar.bz2 |
bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
to elf32_arm_stub_long_branch_any_arm_pic.
(elf32_arm_stub_long_branch_any_thumb_pic): New.
(enum elf32_arm_stub_type, arm_type_of_stub)
(arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC
separately.
ld/testsuite/
* ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed
Thumb PIC stub.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/farcall-arm-thumb-pic-veneer.d | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d | 8 |
4 files changed, 19 insertions, 12 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index cdbc267..16a9a03 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,12 @@ 2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> + * ld-arm/farcall-arm-thumb-blx-pic-veneer.d, + ld-arm/farcall-arm-thumb-pic-veneer.d, + ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Update for fixed + Thumb PIC stub. + +2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> + * ld-arm/arm-elf.exp (armeabitests): Update duplicate test names. Use normal output files for big-endian. * ld-arm/farcall-arm-arm-be.d, ld-arm/farcall-thumb-arm-be.d: Delete. diff --git a/ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d b/ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d index 15c2274..45bc01c 100644 --- a/ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-arm-thumb-blx-pic-veneer.d @@ -7,10 +7,10 @@ Disassembly of section .text: 1004: 00000000 andeq r0, r0, r0 00001008 <__bar_from_arm>: - 1008: e59fc000 ldr ip, \[pc, #0\] ; 1010 <__bar_from_arm\+0x8> - 100c: e08ff00c add pc, pc, ip - 1010: 02000001 .word 0x02000001 - 1014: 00000000 .word 0x00000000 + 1008: e59fc004 ldr ip, \[pc, #4\] ; 1014 <__bar_from_arm\+0xc> + 100c: e08fc00c add ip, pc, ip + 1010: e12fff1c bx ip + 1014: 02000001 .word 0x02000001 Disassembly of section .foo: 02001014 <bar>: diff --git a/ld/testsuite/ld-arm/farcall-arm-thumb-pic-veneer.d b/ld/testsuite/ld-arm/farcall-arm-thumb-pic-veneer.d index 15c2274..45bc01c 100644 --- a/ld/testsuite/ld-arm/farcall-arm-thumb-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-arm-thumb-pic-veneer.d @@ -7,10 +7,10 @@ Disassembly of section .text: 1004: 00000000 andeq r0, r0, r0 00001008 <__bar_from_arm>: - 1008: e59fc000 ldr ip, \[pc, #0\] ; 1010 <__bar_from_arm\+0x8> - 100c: e08ff00c add pc, pc, ip - 1010: 02000001 .word 0x02000001 - 1014: 00000000 .word 0x00000000 + 1008: e59fc004 ldr ip, \[pc, #4\] ; 1014 <__bar_from_arm\+0xc> + 100c: e08fc00c add ip, pc, ip + 1010: e12fff1c bx ip + 1014: 02000001 .word 0x02000001 Disassembly of section .foo: 02001014 <bar>: diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d index d5bc3b1..86c0ca0 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d @@ -8,10 +8,10 @@ Disassembly of section .text: \.\.\. 00001008 <__bar_veneer>: - 1008: e59fc000 ldr ip, \[pc, #0\] ; 1010 <__bar_veneer\+0x8> - 100c: e08ff00c add pc, pc, ip - 1010: 02000001 .word 0x02000001 - 1014: 00000000 .word 0x00000000 + 1008: e59fc004 ldr ip, \[pc, #4\] ; 1014 <__bar_veneer\+0xc> + 100c: e08fc00c add ip, pc, ip + 1010: e12fff1c bx ip + 1014: 02000001 .word 0x02000001 Disassembly of section .foo: 02001014 <bar>: |