OSDN Git Service

* layout.cc (Layout::set_segment_offsets): Align the file offset
authorian <ian>
Fri, 16 Oct 2009 05:00:28 +0000 (05:00 +0000)
committerian <ian>
Fri, 16 Oct 2009 05:00:28 +0000 (05:00 +0000)
commit8bb1a7c766333e7abe5d9f7d6844b3c998a5eae2
treede4e6e5896a1d4f3fd341fb1cc2828d412d1c86d
parente8f2be119f96d9bf571567ecb2d76b7e2b35656f
* 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