diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-06-25 14:28:48 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-06-25 14:28:48 +0000 |
commit | 7413f23fb41cf2a09614c4db4703074ae878ee89 (patch) | |
tree | 50c723e2c83c56d63290c119528a3fba766636a8 /ld/testsuite/ld-arm/farcall-arm-thumb.d | |
parent | 92677fa666331d50978d88a969c3bb275ceea1a9 (diff) | |
download | binutils-gdb-7413f23fb41cf2a09614c4db4703074ae878ee89.tar.gz |
* elf32-arm.c (STUB_ENTRY_NAME): Define.
(arm_thumb_thumb_long_branch_stub): Use bx instead of b.n.
(arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of
R_ARM_ABS32.
(struct elf32_arm_stub_hash_entry): Add output_name.
(arm_build_one_stub): Move offsets into the offset argument
of _bfd_final_link_relocate. Correct offset for
arm_thumb_arm_v4t_stub_long_branch.
(elf32_arm_size_stubs): Set stub_entry->output_name.
(elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym.
Update all callers.
(elf32_arm_output_stub_sym): New.
(arm_map_one_stub): Correct formatting. Use elf32_arm_output_stub_sym.
* 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-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.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/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for
stub symbols and stub corrections.
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-arm-thumb.d')
-rw-r--r-- | ld/testsuite/ld-arm/farcall-arm-thumb.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-arm/farcall-arm-thumb.d b/ld/testsuite/ld-arm/farcall-arm-thumb.d index c664eff28d7..d7519a00f8e 100644 --- a/ld/testsuite/ld-arm/farcall-arm-thumb.d +++ b/ld/testsuite/ld-arm/farcall-arm-thumb.d @@ -2,14 +2,14 @@ Disassembly of section .text: -00001000 <_start-0x10>: - 1000: e59fc000 ldr ip, \[pc, #0\] ; 1008 <_start-0x8> +00001000 <__bar_from_arm>: + 1000: e59fc000 ldr ip, \[pc, #0\] ; 1008 <__bar_from_arm\+0x8> 1004: e12fff1c bx ip 1008: 02001015 .word 0x02001015 100c: 00000000 .word 0x00000000 00001010 <_start>: - 1010: ebfffffa bl 1000 <_start-0x10> + 1010: ebfffffa bl 1000 <__bar_from_arm> Disassembly of section .foo: 02001014 <bar>: |