]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gold/output.cc
* output.cc
authorIan Lance Taylor <ian@airs.com>
Sat, 29 Mar 2008 08:09:55 +0000 (08:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 29 Mar 2008 08:09:55 +0000 (08:09 +0000)
commitab794b6bda9482bd406d05d592849639887036d5
treecd9ac945653fae1d114619141e8df95a2a1b4762
parent479f65031f8b864bf4973b8495761aa769a087cf
* output.cc
(Output_section::Input_section_sort_entry::has_priority): New
function.
(Output_section::Input_section_sort_entry::match_file_name): New
function.
(Output_section::Input_section_sort_entry::match_section_name):
Remove.
(Output_section::Input_section_sort_entry::match_section_name_prefix):
Remove.
(Output_section::Input_section_sort_entry::match_section_file):
Remove.
(Output_section::Input_section_sort_compare::operator()): Rewrite
using new Input_section_sort_entry functions.  Sort crtbegin and
crtend first.  Sort sections with no priority before sections with
a priority.
* testsuite/initpri1.c (d3): Check j != 4.
(cd5): New constructor/destructor function.
(main): Check j != 2.
gold/ChangeLog
gold/output.cc
gold/testsuite/initpri1.c