OSDN Git Service

2007-08-06 Paul Brook <paul@codesourcery.com>
authordrow <drow>
Mon, 6 Aug 2007 18:47:21 +0000 (18:47 +0000)
committerdrow <drow>
Mon, 6 Aug 2007 18:47:21 +0000 (18:47 +0000)
commitd23f2e64b0ba687f89d79b64642327bc8a02a20f
treeae68464cbfc861a752717684fa3e7f778d397909
parente8787e5b08c3d99db3b0664ff89a5dec9b08ab64
2007-08-06  Paul Brook  <paul@codesourcery.com>

* elf32-arm.c (elf32_arm_link_hash_entry): Add
plt_maybe_thumb_refcount.
(elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount.
(elf32_arm_copy_indirect_symbol): Ditto.
(elf32_arm_adjust_dynamic_symbol): Ditto.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24.
(arm_add_to_rel): Ditto.
(elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with
R_ARM_THM_CALL.  Handle R_ARM_THM_JUMP19 against a PLT stub.
(elf32_arm_gc_sweep_hook): Call check_use_blx.  Update plt counts
for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19.
(elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24
and R_ARM_THM_JUMP19.
(allocate_dynrelocs): Use plt_maybe_thumb_refcount.
(elf32_arm_finish_dynamic_symbol): Ditto.
(elf32_arm_output_plt_map): Ditto.
bfd/ChangeLog
bfd/elf32-arm.c