OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Sat, 15 Dec 2007 09:34:48 +0000 (09:34 +0000)
committerrsandifo <rsandifo>
Sat, 15 Dec 2007 09:34:48 +0000 (09:34 +0000)
commit65b28c8c6afa3a6d776355701eda1aba8e9f577a
tree9e083680b0a89264c932bb7dfb2bfb8c5dd2631d
parentff6027d0a384c4b71821ed0f5cc324f7d6bc855b
bfd/
* elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and
u.cie.gc_mark.
(bfd_elf_section_data): Add fde_list.
(elf_fde_list): New macro.
(elf_obj_tdata): Add eh_frame_section.
(elf_eh_frame_section): New macro.
(_bfd_elf_gc_mark_reloc): Remove last parameter.
(_bfd_elf_gc_mark_fdes): Declare.
* elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs
for each input section.
(mark_entry, _bfd_elf_gc_mark_fdes): New functions.
* elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter.
(_bfd_elf_gc_mark): Update call accordingly.  Mark the relocations
againts the section's FDEs.  Don't mark the bfd's elf_eh_frame_section.
(bfd_elf_gc_sections): Parse each input bfd's .eh_frame before
marking any input sections.  Remove the current EH handling.
* section.c (bfd_section): Remove gc_mark_from_eh.
* ecoff.c (bfd_debug_section): Update initializer accordingly.
bfd/ChangeLog
bfd/ecoff.c
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elflink.c
bfd/section.c