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 /gas | |
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 'gas')
0 files changed, 0 insertions, 0 deletions