OSDN Git Service

* layout.cc (Layout::set_segment_offsets): Align the file offset
authorIan Lance Taylor <ian@airs.com>
Fri, 16 Oct 2009 05:00:28 +0000 (05:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 16 Oct 2009 05:00:28 +0000 (05:00 +0000)
commite423147746684ea0dc8750ec008c38aef3a88066
tree458fdabc5e4b5766d259b2b2d3f32377bb9a5eb6
parentc35b97e507dc51ac511ce92ed1f411aab67d8902
* layout.cc (Layout::set_segment_offsets): Align the file offset
to the segment aligment for -N or -n with no load segment.
* output.cc (Output_segment::add_output_section): Don't crash if
the first section is a TLS section.
(Output_segment::set_section_list_addresses): Print an error
message if the address moves backward in a linker script.
* script-sections.cc
(Output_section_element_input::set_section_addresses): Don't
increase *dot_value for a SHF_TLS/SHT_NOBITS section.
(Orphan_output_section::set_section_addresses): Likewise.
gold/ChangeLog
gold/layout.cc
gold/output.cc
gold/script-sections.cc