OSDN Git Service

* elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
authorebotcazou <ebotcazou>
Wed, 21 Apr 2004 07:14:15 +0000 (07:14 +0000)
committerebotcazou <ebotcazou>
Wed, 21 Apr 2004 07:14:15 +0000 (07:14 +0000)
commit22905603dfad5a12fed3e8446f5f82de4b7a073f
tree631f6f273aba9bc68a203cdea5ec8ca789c57f33
parent7bd27573438f3aabd92cfa7301f8c0af5f8c17a3
* 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