Fix resolution of R_ARM_THM_ALU_PREL_11_0 relocation against Thumb symbols.
authorAndrew Goedhart <Andrewgoedhart@simplepowersolutions.co.za>
Tue, 9 May 2017 11:14:48 +0000 (12:14 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 9 May 2017 11:15:22 +0000 (12:15 +0100)
commite645cf40b111daef4518a58547de577eb9379ccb
tree3d1a4523e01d9f62a7b05b81acb02b45956c77a4
parentd2732b697fe56ff4274a4bc45add9386c17f8a07
Fix resolution of R_ARM_THM_ALU_PREL_11_0 relocation against Thumb symbols.

PR ld/21458
* elf32-arm.c (elf32_arm_final_link_relocate): Set the bottom bit
of the value when resolving a R_ARM_THM_ALU_PREL_11_0 relocation
and the destination is a Thumb symbol.
bfd/ChangeLog
bfd/elf32-arm.c