]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix feature checks based on ARM architecture value
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 22 Sep 2016 15:36:20 +0000 (16:36 +0100)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 22 Sep 2016 15:45:24 +0000 (16:45 +0100)
commita08f609340d6d2b69d981f72b7900398f3816346
treeedb901d803189f8dec71c8064665baee231863e5
parent35f401d187dee61fb83e626527ef46fcd5c0fc16
Fix feature checks based on ARM architecture value

2016-09-22  Andre Vieira  <andre.simoesdiasvieira@arm.com>

Backport from mainline
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.arm
bfd/elf32-arm.c