* elflink.c (_bfd_elf_gc_mark): Mark sections referenced by
authorAlan Modra <amodra@gmail.com>
Wed, 29 Jun 2005 14:05:21 +0000 (14:05 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Jun 2005 14:05:21 +0000 (14:05 +0000)
commit39c2f51bd9f82438706973c4b92597a945d9c4df
tree44152730391ea82957bcbc22e60bce18565e60f4
parente8aaee2ad47c086c1c64639df152489eb283b342
* elflink.c (_bfd_elf_gc_mark): Mark sections referenced by
.eh_frame specially..
(bfd_elf_gc_sections): ..rather than totally ignoring .eh_frame.
Don't recheck sections we have already marked.
(elf_gc_sweep): Keep non-code sections referenced from .eh_frame.
* section.c (struct bfd_section): Add gc_mark_from_eh.
(STD_SECTION): Adjust.
* ecoff.c (bfd_debug_section): Adjust.
* bfd-in2.h: Regenerate.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/ecoff.c
bfd/elflink.c
bfd/section.c