diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-04-21 22:05:04 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-04-21 22:05:04 +0000 |
commit | 3e6b10420efe916a2461d1f336697a5c049ea921 (patch) | |
tree | 99a7e143d8ddf79413a6164beae6a7b2f647550d /ld/testsuite/ld-arm/farcall-group.d | |
parent | 62e4f60cdb325ead1609bc7d609d2499b0cd87af (diff) | |
download | binutils-gdb-3e6b10420efe916a2461d1f336697a5c049ea921.tar.gz |
bfd/
* elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
(elf32_arm_write_section): Declare early.
(elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
(arm_allocate_glue_section_space): Exclude empty sections.
(ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
(bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
BFD.
(elf32_arm_output_glue_section, elf32_arm_final_link): New.
(elf32_arm_merge_eabi_attributes): Skip the stub BFD.
(elf32_arm_size_dynamic_sections): Allocate interworking
sections here.
(bfd_elf32_bfd_final_link): Define.
ld/
* emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
(arm_elf_set_bfd_for_interworking): Delete.
(arm_elf_before_allocation): Do not set the interworking BFD.
Move allocation inside not-dynamic block.
(arm_elf_create_output_section_statements): Create glue sections
and set the interworking BFD here.
(LDEMUL_AFTER_OPEN): Delete.
ld/testsuite/
* ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
ld-arm/farcall-mixed-lib.d: Update for linker changes.
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-group.d')
-rw-r--r-- | ld/testsuite/ld-arm/farcall-group.d | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ld/testsuite/ld-arm/farcall-group.d b/ld/testsuite/ld-arm/farcall-group.d index f7ff972dfef..10e983e4154 100644 --- a/ld/testsuite/ld-arm/farcall-group.d +++ b/ld/testsuite/ld-arm/farcall-group.d @@ -4,12 +4,12 @@ Disassembly of section .text: 00001000 <_start>: - 1000: eb000007 bl 1024 <__bar_from_arm> - 1004: eb00000c bl 103c <__bar2_veneer> + 1000: eb00000c bl 1038 <__bar_from_arm> + 1004: eb00000e bl 1044 <__bar2_veneer> 00001008 <myfunc>: - 1008: eb00000d bl 1044 <__bar3_veneer> - 100c: eb000007 bl 1030 <__bar4_from_arm> + 1008: eb000008 bl 1030 <__bar3_veneer> + 100c: eb000004 bl 1024 <__bar4_from_arm> 1010: eb000000 bl 1018 <__bar5_from_arm> 1014: 00000000 andeq r0, r0, r0 @@ -17,20 +17,20 @@ Disassembly of section .text: 1018: e59fc000 ldr ip, \[pc, #0\] ; 1020 <__bar5_from_arm\+0x8> 101c: e12fff1c bx ip 1020: 0200302f .word 0x0200302f -00001024 <__bar_from_arm>: - 1024: e59fc000 ldr ip, \[pc, #0\] ; 102c <__bar_from_arm\+0x8> +00001024 <__bar4_from_arm>: + 1024: e59fc000 ldr ip, \[pc, #0\] ; 102c <__bar4_from_arm\+0x8> 1028: e12fff1c bx ip - 102c: 02003021 .word 0x02003021 -00001030 <__bar4_from_arm>: - 1030: e59fc000 ldr ip, \[pc, #0\] ; 1038 <__bar4_from_arm\+0x8> - 1034: e12fff1c bx ip - 1038: 0200302d .word 0x0200302d -0000103c <__bar2_veneer>: - 103c: e51ff004 ldr pc, \[pc, #-4\] ; 1040 <__bar2_veneer\+0x4> - 1040: 02003024 .word 0x02003024 -00001044 <__bar3_veneer>: - 1044: e51ff004 ldr pc, \[pc, #-4\] ; 1048 <__bar3_veneer\+0x4> - 1048: 02003028 .word 0x02003028 + 102c: 0200302d .word 0x0200302d +00001030 <__bar3_veneer>: + 1030: e51ff004 ldr pc, \[pc, #-4\] ; 1034 <__bar3_veneer\+0x4> + 1034: 02003028 .word 0x02003028 +00001038 <__bar_from_arm>: + 1038: e59fc000 ldr ip, \[pc, #0\] ; 1040 <__bar_from_arm\+0x8> + 103c: e12fff1c bx ip + 1040: 02003021 .word 0x02003021 +00001044 <__bar2_veneer>: + 1044: e51ff004 ldr pc, \[pc, #-4\] ; 1048 <__bar2_veneer\+0x4> + 1048: 02003024 .word 0x02003024 ... Disassembly of section .foo: |