diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2016-07-01 16:13:25 +0100 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2016-07-01 16:13:25 +0100 |
commit | 5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b (patch) | |
tree | 7339b56ab285a32ae7d290297d4f2241a429fe1e /bfd/ChangeLog | |
parent | 5077bfff905136e9d9a8fdf0886f6217887622ad (diff) | |
download | gdb-5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b.zip gdb-5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b.tar.gz gdb-5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b.tar.bz2 |
Fix Thumb-2 BL detection
2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
bfd/
* elf32-arm.c (using_thumb2_bl): New function.
(arm_type_of_stub): Declare thumb2 variable together and change type
to bfd_boolean. Use using_thumb2_bl () to determine whether
THM_MAX_FWD_BRANCH_OFFSET or THM2_MAX_FWD_BRANCH_OFFSET should be
checked for BL range.
(elf32_arm_final_link_relocate): Use using_thumb2_bl () to determine
the bit size of BL offset.
ld/
* testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
(Thumb-2 BL on ARMv6-M): New testcase.
* testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
* testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 90e34ac..adfed6f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com> + + * elf32-arm.c (using_thumb2_bl): New function. + (arm_type_of_stub): Declare thumb2 variable together and change type + to bfd_boolean. Use using_thumb2_bl () to determine whether + THM_MAX_FWD_BRANCH_OFFSET or THM2_MAX_FWD_BRANCH_OFFSET should be + checked for BL range. + (elf32_arm_final_link_relocate): Use using_thumb2_bl () to determine + the bit size of BL offset. + 2016-06-29 Nick Clifton <nickc@redhat.com> * elfnn-aarch64.c (is_aarch64_mapping_symbol): New function. |