OSDN Git Service

* elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 21 Apr 2004 07:14:15 +0000 (07:14 +0000)
committerEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 21 Apr 2004 07:14:15 +0000 (07:14 +0000)
commit3a3b3233e3d44f469ab942daf9faa2b8051adc0b
treeb5691a45667c75c78cf5eddc2d78c70cde60607c
parente8f0028c09193b7fb282c43c3df896d3d6940de6
* elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
(bfd_elf_gc_sections): Fail if a shared object is being created.
Do not fail if dynamic sections have been created.  Instead call
elf_gc_mark_dynamic_ref_symbol to mark sections that contain
dynamically referenced symbols.  Do not mark the whole graph
rooted at .eh_frame, only the section proper.
bfd/ChangeLog
bfd/elflink.c