diff options
author | Doug Kwan <dougkwan@google.com> | 2010-03-01 21:43:50 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2010-03-01 21:43:50 +0000 |
commit | 2a0ff005c89d674c7e233c7fa612aa2434bcd8df (patch) | |
tree | f7cdface7116bfdf3188bd6d8b844deff74b551d /ld | |
parent | a6f5ef51d7c85bd0b950fd182284f6cbff5fecf0 (diff) | |
download | gdb-2a0ff005c89d674c7e233c7fa612aa2434bcd8df.zip gdb-2a0ff005c89d674c7e233c7fa612aa2434bcd8df.tar.gz gdb-2a0ff005c89d674c7e233c7fa612aa2434bcd8df.tar.bz2 |
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.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions