2010-04-15 Andrew Haley <aph@redhat.com>
authorAndrew Haley <aph@redhat.com>
Wed, 21 Apr 2010 16:32:31 +0000 (16:32 +0000)
committerAndrew Haley <aph@redhat.com>
Wed, 21 Apr 2010 16:32:31 +0000 (16:32 +0000)
commit85fdf9067facc06446531798a158b53c03c1373c
tree812878934b79e19dd3c22fd67069c92f9c2c3900
parenta8ae7dc0fb885e983d813eec04a6a4d67e454baf
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