summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-12-15 09:34:48 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2007-12-15 09:34:48 +0000
commitb47d404bcfa4c0fb6a4976363e045d9071350ad3 (patch)
tree04d4862c8527e233224b78a9c7ff2b9a4ffaabf5 /bfd/section.c
parente0c98441c53774221159000b4f7c4afe4519f0f0 (diff)
downloadbinutils-redhat-b47d404bcfa4c0fb6a4976363e045d9071350ad3.tar.gz
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/section.c')
-rw-r--r--bfd/section.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/section.c b/bfd/section.c
index 4ee6c89863..11ce0d6135 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -357,9 +357,8 @@ CODE_FRAGMENT
. output sections that have an input section. *}
. unsigned int linker_has_input : 1;
.
-. {* Mark flags used by some linker backends for garbage collection. *}
+. {* Mark flag used by some linker backends for garbage collection. *}
. unsigned int gc_mark : 1;
-. unsigned int gc_mark_from_eh : 1;
.
. {* The following flags are used by the ELF linker. *}
.