* layout.cc (Layout::special_ordering_of_input_section): New
authorIan Lance Taylor <ian@airs.com>
Fri, 21 Dec 2012 06:24:31 +0000 (06:24 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 21 Dec 2012 06:24:31 +0000 (06:24 +0000)
commitedcac0c105556029774320bc8288beb472e999b5
treefe3f5136d7ebc3d5df8dd65aa0bc20cd3cee3cb5
parent600e715a7ba9eb29f781efdf35fb1627879a2e83
* layout.cc (Layout::special_ordering_of_input_section): New
function.
(Layout::layout): If input section requires special ordering, must
sort input sections.
(Layout::make_output_section): May sort .text input sections.
(Layout::is_section_name_prefix_grouped): Remove.
* layout.h (class Layout): Declare
special_ordering_of_input_section.  Don't declare
is_section_name_prefix_grouped.
* output.cc (Output_section::add_input_section): Revert last
change.
(Output_section::Input_section_sort::match_file_name): Don't crash
if called on output section data.
(Output_section::Input_section_sort_compare): Sort based on
special ordering.
(Output_section::Input_section_sort_section_order_index_compare):
Revert last patch.
(Output_section::sort_attached_input_sections): Likewise.
gold/ChangeLog
gold/layout.cc
gold/layout.h
gold/output.cc
This page took 0.025278 seconds and 4 git commands to generate.