PR gold/12898
authorIan Lance Taylor <ian@airs.com>
Wed, 29 Jun 2011 00:39:54 +0000 (00:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 29 Jun 2011 00:39:54 +0000 (00:39 +0000)
commitaecf301fb9a06b3d05280260758bcd3e85d7413e
tree6abfce385d16ede9a1a234bb95054427b1e5a99c
parentd555a4fbf322f7818ea970c1d8108730d9f3f33e
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.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/script-sections.cc
This page took 0.029373 seconds and 4 git commands to generate.