aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2009-04-02 14:12:46 +0000
committerChristophe Lyon <christophe.lyon@st.com>2009-04-02 14:12:46 +0000
commitd3626fb08bd9456f3252ed95d31f67f83c833cfd (patch)
tree8b1a22ba6c97924b9c309ac9edabeb499aa37138 /ld/testsuite/ld-arm
parent0fcc17f8898b6f0b5883882f0bd33198c8dfe96d (diff)
downloadgdb-d3626fb08bd9456f3252ed95d31f67f83c833cfd.zip
gdb-d3626fb08bd9456f3252ed95d31f67f83c833cfd.tar.gz
gdb-d3626fb08bd9456f3252ed95d31f67f83c833cfd.tar.bz2
2009-04-02 Christophe Lyon <christophe.lyon@st.com>
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.
Diffstat (limited to 'ld/testsuite/ld-arm')
-rw-r--r--ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d14
-rw-r--r--ld/testsuite/ld-arm/farcall-thumb-thumb.d10
2 files changed, 11 insertions, 13 deletions
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: