diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-06-29 00:39:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-06-29 00:39:54 +0000 |
commit | aecf301fb9a06b3d05280260758bcd3e85d7413e (patch) | |
tree | 6abfce385d16ede9a1a234bb95054427b1e5a99c /gold/ChangeLog | |
parent | d555a4fbf322f7818ea970c1d8108730d9f3f33e (diff) | |
download | gdb-aecf301fb9a06b3d05280260758bcd3e85d7413e.zip gdb-aecf301fb9a06b3d05280260758bcd3e85d7413e.tar.gz gdb-aecf301fb9a06b3d05280260758bcd3e85d7413e.tar.bz2 |
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index f27f58e..b765cd4 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,21 @@ 2011-06-28 Ian Lance Taylor <iant@google.com> + 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. + +2011-06-28 Ian Lance Taylor <iant@google.com> + PR gold/12934 * target-select.cc (Target_selector::Target_selector): Add emulation parameter. Change all callers. |