diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-02-23 21:48:53 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-02-23 21:48:53 +0000 |
commit | 461a49cacae7574c0f380957f125e96401f170e8 (patch) | |
tree | 30087e9013b7845f505ca64ce4f3429c94479370 /ld/ldgram.y | |
parent | 4c664d7bf7005e368a8ee5183ee018924acf0f9b (diff) | |
download | gdb-461a49cacae7574c0f380957f125e96401f170e8.zip gdb-461a49cacae7574c0f380957f125e96401f170e8.tar.gz gdb-461a49cacae7574c0f380957f125e96401f170e8.tar.bz2 |
2009-02-23 Christophe Lyon <christophe.lyon@st.com>
bfd/
* elf32-arm.c (stub_insn_type): New type.
(stub_reloc_type): Likewise.
(insn_sequence): Likewise.
(elf32_arm_stub_long_branch_any_any): Encode using insn_sequence.
(elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise.
(elf32_arm_stub_long_branch_thumb_only): Likewise.
(elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise.
(elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise.
(elf32_arm_stub_long_branch_any_any_pic): Likewise.
(elf32_arm_stub_hash_entry): Add new helper fields.
(stub_hash_newfunc): Initialize these new fields.
(arm_build_one_stub): Encode Arm and Thumb instructions separately
to take endianness into account.
(arm_size_one_stub): Compute size of stubs using insn_sequence.
(arm_map_one_stub): Code is now more generic, thanks to
insn_sequence.
ld/testsuite/
* ld-arm/arm-elf.exp: Add new farcall-thumb-arm-be8 test.
* ld-arm/farcall-thumb-arm-be8.d: New expected result.
* ld-arm/farcall-arm-arm-be8.d: Replace wildcards by instructions.
Diffstat (limited to 'ld/ldgram.y')
0 files changed, 0 insertions, 0 deletions