Install patch for PR ld/16017. This adds support for generating PLT entries
authorNick Clifton <nickc@redhat.com>
Tue, 4 Mar 2014 15:25:53 +0000 (15:25 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 4 Mar 2014 15:25:53 +0000 (15:25 +0000)
commiteed94f8f8eddbd2268fc317508044bedc81a4e70
treec487edd4fc1c212fee07e355301143a7ae1cb5d5
parent1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b
Install patch for PR ld/16017.  This adds support for generating PLT entries
using Thumb2 instructions for those cores which do not support the ARM ISA.

* elf32-arm.c (elf32_thumb2_plt0_entry): New array.
(elf32_thumb2_plt_entry): New array.
(elf32_arm_create_dynamic_sections): Set PLT entry sizes when
using thumb2 based PLT.
(elf32_arm_populate_plt_entry): Handle generating Thumb2 based PLT
entries.
(elf32_arm_final_link_relocate): Do not bias jumps to Thumb based
PLT entries.
(elf32_arm_finish_dynamic_sections): Handle creation of Thumb2
based PLT 0-entry.
(elf32_arm_output_plt_map_1): Handle creation of local symbols for
Thumb2 based PLT 0-entry.
(elf32_arm_output_arch_local_syms): Handle creation of local
symbols for Thumb2 based PLT entries.
bfd/ChangeLog
bfd/elf32-arm.c