[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/5604] New: ld crash during eh-frame parsing
From: |
schwab at suse dot de |
Subject: |
[Bug ld/5604] New: ld crash during eh-frame parsing |
Date: |
13 Jan 2008 11:50:41 -0000 |
The linker crashes during eh-frame parsing on ppc64. The bug was introduced by
this change:
2007-12-15 Richard Sandiford <address@hidden>
* 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.
The most likely candidate is the change in bfd_elf_gc_sections.
--
Summary: ld crash during eh-frame parsing
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: schwab at suse dot de
CC: amodra at bigpond dot net dot au,bug-binutils at gnu dot
org,rsandifo at sourceware dot org
GCC target triplet: powerpc64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=5604
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/5604] New: ld crash during eh-frame parsing,
schwab at suse dot de <=
- [Bug ld/5604] ld crash during eh-frame parsing, schwab at suse dot de, 2008/01/13
- [Bug ld/5604] ld crash during eh-frame parsing, schwab at suse dot de, 2008/01/13
- [Bug ld/5604] ld crash during eh-frame parsing, schwab at suse dot de, 2008/01/13
- [Bug ld/5604] ld crash during eh-frame parsing, amodra at bigpond dot net dot au, 2008/01/14
- [Bug ld/5604] ld crash during eh-frame parsing, amodra at bigpond dot net dot au, 2008/01/14
- [Bug ld/5604] ld crash during eh-frame parsing, amodra at bigpond dot net dot au, 2008/01/14
- [Bug ld/5604] ld crash during eh-frame parsing, amodra at bigpond dot net dot au, 2008/01/15