aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/farcall-mix2.d
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-02-24 22:43:10 +0000
committerDaniel Jacobowitz <drow@false.org>2009-02-24 22:43:10 +0000
commit07d72278cd2622807aca8bf84f06667bb1c4df96 (patch)
tree5bc3bddcb4767775cc2b58e2c700f0a16572066c /ld/testsuite/ld-arm/farcall-mix2.d
parent2509a395cb1b6f6dd5b72f84d80693eaff977d31 (diff)
downloadgdb-07d72278cd2622807aca8bf84f06667bb1c4df96.zip
gdb-07d72278cd2622807aca8bf84f06667bb1c4df96.tar.gz
gdb-07d72278cd2622807aca8bf84f06667bb1c4df96.tar.bz2
2009-02-24 Joseph Myers <joseph@codesourcery.com>
bfd/ * elf32-arm.c (PREV_SEC): Update comment. (group_sections): Rename argument to stubs_always_after_branch. Reverse the list and place stubs at the end of input sections. Undefine NEXT_SEC. (elf32_arm_size_stubs): Update to use stubs_always_after_branch. ld/ * ld.texinfo (ARM): Document changed meaning of --stub-group-size. * emultempl/armelf.em (hook_in_stub): Insert after the input section. (elf32_arm_add_stub_section): Update comment. (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. 2009-02-24 Daniel Jacobowitz <dan@codesourcery.com> ld/testsuite/ * 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. * ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d, ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d, ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d, ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d, ld-arm/farcall-thumb-arm-be8.d, ld-arm/farcall-thumb-arm-blx-pic-veneer.d, ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm-short.d, ld-arm/farcall-thumb-arm.d, ld-arm/farcall-thumb-thumb-blx-pic-veneer.d, ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d, ld-arm/farcall-thumb-thumb.d, ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for moved stubs.
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-mix2.d')
-rw-r--r--ld/testsuite/ld-arm/farcall-mix2.d46
1 files changed, 24 insertions, 22 deletions
diff --git a/ld/testsuite/ld-arm/farcall-mix2.d b/ld/testsuite/ld-arm/farcall-mix2.d
index 0af3027..c3e775b 100644
--- a/ld/testsuite/ld-arm/farcall-mix2.d
+++ b/ld/testsuite/ld-arm/farcall-mix2.d
@@ -3,35 +3,37 @@
Disassembly of section .text:
-00001000 <__bar2_veneer>:
- 1000: e51ff004 ldr pc, \[pc, #-4\] ; 1004 <__bar2_veneer\+0x4>
- 1004: 02003024 .word 0x02003024
+00001000 <_start>:
+ 1000: eb000000 bl 1008 <__bar_from_arm>
+ 1004: eb000002 bl 1014 <__bar2_veneer>
+
00001008 <__bar_from_arm>:
1008: e59fc000 ldr ip, \[pc, #0\] ; 1010 <__bar_from_arm\+0x8>
100c: e12fff1c bx ip
1010: 02003021 .word 0x02003021
- 1014: 00000000 .word 0x00000000
-
-00001018 <_start>:
- 1018: ebfffffa bl 1008 <__bar_from_arm>
- 101c: ebfffff7 bl 1000 <__bar2_veneer>
+00001014 <__bar2_veneer>:
+ 1014: e51ff004 ldr pc, \[pc, #-4\] ; 1018 <__bar2_veneer\+0x4>
+ 1018: 02003024 .word 0x02003024
+ 101c: 00000000 .word 0x00000000
Disassembly of section .mytext:
-00002000 <__bar5_from_arm>:
- 2000: e59fc000 ldr ip, \[pc, #0\] ; 2008 <__bar5_from_arm\+0x8>
- 2004: e12fff1c bx ip
- 2008: 0200302f .word 0x0200302f
-0000200c <__bar3_veneer>:
- 200c: e51ff004 ldr pc, \[pc, #-4\] ; 2010 <__bar3_veneer\+0x4>
- 2010: 02003028 .word 0x02003028
-00002014 <__bar4_from_arm>:
- 2014: e59fc000 ldr ip, \[pc, #0\] ; 201c <__bar4_from_arm\+0x8>
- 2018: e12fff1c bx ip
- 201c: 0200302d .word 0x0200302d
+00002000 <__bar5_from_arm-0x10>:
+ 2000: eb000005 bl 201c <__bar3_veneer>
+ 2004: eb000006 bl 2024 <__bar4_from_arm>
+ 2008: eb000000 bl 2010 <__bar5_from_arm>
+ 200c: 00000000 andeq r0, r0, r0
+00002010 <__bar5_from_arm>:
+ 2010: e59fc000 ldr ip, \[pc, #0\] ; 2018 <__bar5_from_arm\+0x8>
+ 2014: e12fff1c bx ip
+ 2018: 0200302f .word 0x0200302f
+0000201c <__bar3_veneer>:
+ 201c: e51ff004 ldr pc, \[pc, #-4\] ; 2020 <__bar3_veneer\+0x4>
+ 2020: 02003028 .word 0x02003028
+00002024 <__bar4_from_arm>:
+ 2024: e59fc000 ldr ip, \[pc, #0\] ; 202c <__bar4_from_arm\+0x8>
+ 2028: e12fff1c bx ip
+ 202c: 0200302d .word 0x0200302d
...
- 2028: ebfffff7 bl 200c <__bar3_veneer>
- 202c: ebfffff8 bl 2014 <__bar4_from_arm>
- 2030: ebfffff2 bl 2000 <__bar5_from_arm>
Disassembly of section .foo:
02003020 <bar>: