diff options
author | Sriraman Tallam <tmsriram@google.com> | 2013-01-24 18:49:54 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2013-01-24 18:49:54 +0000 |
commit | bd177e608fe5eab4dbe6ff3f27708200e55d3b00 (patch) | |
tree | a7457142037cf4bafdc3a4f1abf8488c89ab1acb /binutils/dwarf.c | |
parent | f504adc7fd62d0455f949cbf174d8e332deb73ba (diff) | |
download | binutils-redhat-bd177e608fe5eab4dbe6ff3f27708200e55d3b00.tar.gz |
Default text reordering fix with a flag to turn it off.
2013-01-24 Sriraman Tallam <tmsriram@google.com>
* layout.cc (Layout::layout): Check for option text_reorder.
(Layout::make_output_section): Ditto.
* options.h (text_reorder): New option.
* output.cc (Input_section_sort_compare): Remove special ordering
of section names.
(Output_section::
Input_section_sort_section_name_special_ordering_compare::
operator()): New function.
(Output_section::sort_attached_input_sections): Use new sort function
for .text.
* output.h (Input_section_sort_section_name_special_ordering_compare):
New struct.
* testsuite/Makefile.am (text_section_grouping): Test option
--no-text-reorder
* testsuite/Makefile.in: Regenerate.
* testsuite/text_section_grouping.sh: Check order of functions without
default text reordering.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions