2010-03-01 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Mon, 1 Mar 2010 21:43:50 +0000 (21:43 +0000)
committerDoug Kwan <dougkwan@google.com>
Mon, 1 Mar 2010 21:43:50 +0000 (21:43 +0000)
commit2a0ff005c89d674c7e233c7fa612aa2434bcd8df
treef7cdface7116bfdf3188bd6d8b844deff74b551d
parenta6f5ef51d7c85bd0b950fd182284f6cbff5fecf0
2010-03-01  Doug Kwan  <dougkwan@google.com>

* layout.cc (Layout::Layout): Force section types of .init_array*,
.preinit_array* and .fini_array* sections.
* output.cc (Output_section::Input_section_sort_entry::has_priority):
Fix check of return value of std::string::find.().
(Output_section::Input_section_sort_compare::operator()): Remove
comment about .init_array.
(Output_section::Input_section_sort_init_fini_compare::operator()):
New method.
(Output_section::sort_attached_input_sections): Handle .init_array
and .fini_array specially.
* output.h (Output_section::Inut_section_sort_compare): Update
comment.
(Output_section::Input_section_sort_init_fini_compare): New struct.
gold/ChangeLog
gold/layout.cc
gold/output.cc
gold/output.h
This page took 0.025992 seconds and 4 git commands to generate.