aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-12-15 09:34:48 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-12-15 09:34:48 +0000
commit9d0a14d3f3339d988a395262538629b05cac99d3 (patch)
treef98722f3a58a6f0ddeee68b430e162cb6e778c8c /bfd/ecoff.c
parentca92cecbbead0c883df57e70fdb5b2541febd43b (diff)
downloadgdb-9d0a14d3f3339d988a395262538629b05cac99d3.zip
gdb-9d0a14d3f3339d988a395262538629b05cac99d3.tar.gz
gdb-9d0a14d3f3339d988a395262538629b05cac99d3.tar.bz2
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.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 0bd4add..149df64 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -55,8 +55,8 @@ static asection bfd_debug_section =
{
/* name, id, index, next, prev, flags, user_set_vma, */
"*DEBUG*", 0, 0, NULL, NULL, 0, 0,
- /* linker_mark, linker_has_input, gc_mark, gc_mark_from_eh, */
- 0, 0, 1, 0,
+ /* linker_mark, linker_has_input, gc_mark, */
+ 0, 0, 1,
/* segment_mark, sec_info_type, use_rela_p, has_tls_reloc, */
0, 0, 0, 0,
/* has_gp_reloc, need_finalize_relax, reloc_done, */