* layout.cc (Layout::set_segment_offsets): Align the file offset
authorIan Lance Taylor <ian@airs.com>
Fri, 16 Oct 2009 05:00:29 +0000 (05:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 16 Oct 2009 05:00:29 +0000 (05:00 +0000)
commit661be1e21e12f87f58c14d0ef8caaee770857297
treeb75b937378c483fd6ade5c1b1ff132e1625c28e3
parent6b3159bb460f231beae8b0179fecbc74e31d9d17
* 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