* arm.cc (Target_arm::Target_arm): Remove initialisation of
authorIan Lance Taylor <ian@airs.com>
Wed, 2 Nov 2011 19:11:48 +0000 (19:11 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 2 Nov 2011 19:11:48 +0000 (19:11 +0000)
commitcd6eab1c16716e4e52828c0411f1dadfc14334cc
treedb8c4e22d95a21e4b9c70f6a189c1d229061bcbe
parentf179e16214758688265c2a0798bb2bebc0cd2770
* arm.cc (Target_arm::Target_arm): Remove initialisation of
may_use_blx_.
(Target_arm::may_use_blx): Remove method.
(Target_arm::set_may_use_blx): Likewise.
(Target_arm::may_use_v4t_interworking): New method.
(Target_arm::may_use_v5t_interworking): Likewise.
(Target_arm::may_use_blx_): Remove member variable.
(Arm_relocate_functions::arm_branch_common): Check for v5T
interworking.
(Arm_relocate_functions::thumb_branch_common): Likewise.
(Reloc_stub::stub_type_for_reloc): Likewise.
(Target_arm::do_finalize_sections): Correct interworking checks.
* testsuite/Makefile.am: Add new tests.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_farcall_arm_arm.s: New test.
* testsuite/arm_farcall_arm_arm.sh: Likewise.
* testsuite/arm_farcall_arm_thumb.s: Likewise.
* testsuite/arm_farcall_arm_thumb.sh: Likewise.
* testsuite/arm_farcall_thumb_arm.s: Likewise.
* testsuite/arm_farcall_thumb_arm.sh: Likewise.
* testsuite/arm_farcall_thumb_thumb.s: Likewise.
* testsuite/arm_farcall_thumb_thumb.sh: Likewise.
12 files changed:
gold/ChangeLog
gold/arm.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/arm_farcall_arm_arm.s [new file with mode: 0644]
gold/testsuite/arm_farcall_arm_arm.sh [new file with mode: 0755]
gold/testsuite/arm_farcall_arm_thumb.s [new file with mode: 0644]
gold/testsuite/arm_farcall_arm_thumb.sh [new file with mode: 0755]
gold/testsuite/arm_farcall_thumb_arm.s [new file with mode: 0644]
gold/testsuite/arm_farcall_thumb_arm.sh [new file with mode: 0755]
gold/testsuite/arm_farcall_thumb_thumb.s [new file with mode: 0644]
gold/testsuite/arm_farcall_thumb_thumb.sh [new file with mode: 0755]