[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12898] gold throws "internal error in segment_precedes" when b

From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/12898] gold throws "internal error in segment_precedes" when building kvm
Date: Wed, 29 Jun 2011 00:40:32 +0000


--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> 2011-06-29 00:39:58 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    address@hidden    2011-06-29 00:39:55

Modified files:
    gold           : ChangeLog layout.cc layout.h script-sections.cc 

Log message:
    PR gold/12898
    * layout.cc (Layout::segment_precedes): Don't crash if a linker
    script create indistinguishable segments.
    (Layout::set_segment_offsets): Use stable_sort when sorting
    segments.  Pass this to Compare_segments constructor.
    * layout.h (class Layout): Make segment_precedes non-static.
    (class Compare_segments): Change from struct to class.  Add
    layout_ field.  Add constructor.
    * script-sections.cc
    (Script_sections::attach_sections_using_phdrs_clause): Rename
    local orphan to is_orphan.  Don't report failure to put empty
    section in segment.  On attachment failure, report name of
    section, and attach to first PT_LOAD segment.


Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]