Fix feature checks based on ARM architecture value
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 14 Jun 2016 11:02:53 +0000 (12:02 +0100)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 14 Jun 2016 11:02:53 +0000 (12:02 +0100)
commit60a019a089177f3f58f636580857414d769b8c11
tree4c0c1c6d7fea30f93c9a91550951a0885cc833de
parent0aa7f5862e5619194b3956d5bd45b93970635bde
Fix feature checks based on ARM architecture value

2016-06-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
* elf32-arm.c (using_thumb_only): Force review of arch check logic for
new architecture.
(using_thumb2): Try Tag_THUMB_ISA_use first and check
for exact arch value then.  Force review of arch check logic for new
architecture.
(arch_has_arm_nop): Update and fix arch check logic.  Force review of
that logic for new architecture.
(arch_has_thumb2_nop): Remove.
(elf32_arm_tls_relax): Use using_thumb2 instead of above function.
(elf32_arm_final_link_relocate): Likewise but using thumb2.
bfd/ChangeLog
bfd/elf32-arm.c