2010-04-15 Andrew Haley <aph@redhat.com>
commit9a37e9a2d9f7743b3b9fbc97489b2b90f9ce3cc2
authorAndrew Haley <aph@redhat.com>
Wed, 21 Apr 2010 16:32:25 +0000 (21 16:32 +0000)
committerAndrew Haley <aph@redhat.com>
Wed, 21 Apr 2010 16:32:25 +0000 (21 16:32 +0000)
tree7e763e0580da3f52225eb7e9dc80dfd94586f665
parentf9dbf6b97afd18543920af1f71df74dcf71e931b
2010-04-15  Andrew Haley  <aph@redhat.com>

* emultempl/armelf.em (merge_exidx_entries): New variable.
(OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
("no-merge-exidx-entries"): New option.
* ld.texinfo (merge-exidx-entries): Document this option.

2010-04-15  Andrew Haley  <aph@redhat.com>

* bfd-in.h (elf32_arm_fix_exidx_coverage): Add new flag:
merge_exidx_entries.
* bfd-in2.h: Likewise.
* elf32-arm.c (elf32_arm_fix_exidx_coverage): Likewise.  Use it to
control merging of exidx entries.

2010-04-15  Andrew Haley  <aph@redhat.com>

* options.h (merge_exidx_entries): New option.
* arm.cc (class Arm_exidx_fixup): Add new arg, merge_exidx_entries.
(class Arm_exidx_fixup::merge_exidx_entries_): New member.
(Output_section::fix_exidx_coverage): Add new arg, merge_exidx_entries.
(Target_arm::merge_exidx_entries): New function.
(process_exidx_entry): Don't merge if merge_exidx_entries_ is false.
(Arm_output_section::fix_exidx_coverage): Pass merge_exidx_entries
to Arm_exidx_fixup constructor.
Add new arg, merge_exidx_entries.
(Target_arm::fix_exidx_coverage): pass merge_exidx_entries to
Arm_output_section::fix_exidx_coverage.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf32-arm.c
gold/ChangeLog
gold/arm.cc
gold/options.h
ld/ChangeLog
ld/emultempl/armelf.em
ld/ld.texinfo