From 39c2f51bd9f82438706973c4b92597a945d9c4df Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 29 Jun 2005 14:05:21 +0000 Subject: * 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 769534b..f4e4944 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,17 @@ 2005-06-29 Alan Modra + * 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. + +2005-06-29 Alan Modra + * elflink.c (elf_gc_sweep): Do not refcount on sections that have not been processed by check_relocs. -- cgit v1.1