elflink.h (elf_gc_sections): Do not allow garbage

collection if dynamic sections have been created.

: ----------------------------------------------------------------------
This commit is contained in:
Catherine Moore 1998-10-05 15:21:26 +00:00
parent 64923bb947
commit 6342b0623a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 5 10:06:22 1998 Catherine Moore <clm@cygnus.com>
* elflink.h (elf_gc_sections): Do not allow garbage
collection if dynamic sections have been created.
Mon Oct 5 09:07:37 1998 Catherine Moore <clm@cygnus.com>
* elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT and

View File

@ -5682,7 +5682,8 @@ elf_gc_sections (abfd, info)
struct elf_link_hash_entry *h, Elf_Internal_Sym *));
if (!get_elf_backend_data (abfd)->can_gc_sections
|| info->relocateable)
|| info->relocateable
|| elf_hash_table (info)->dynamic_sections_created)
return true;
/* Apply transitive closure to the vtable entry usage info. */