diff options
author | Sriraman Tallam <tmsriram@google.com> | 2013-01-24 18:49:55 +0000 |
---|---|---|
committer | Sriraman Tallam <tmsriram@google.com> | 2013-01-24 18:49:55 +0000 |
commit | c6ac678db54ed727cb673a87beeb7a41bdf13182 (patch) | |
tree | b2a220a0034d74e463386bb5efa8e1ac0a2fd697 /gold/ChangeLog | |
parent | 45e6c716a91b609472e7b807347f9ed3a86c8113 (diff) | |
download | gdb-c6ac678db54ed727cb673a87beeb7a41bdf13182.zip gdb-c6ac678db54ed727cb673a87beeb7a41bdf13182.tar.gz gdb-c6ac678db54ed727cb673a87beeb7a41bdf13182.tar.bz2 |
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 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 8e70fdd..bcf8c06 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,23 @@ +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. + 2013-01-18 Mike Frysinger <vapier@gentoo.org> * options.h (General_options): Change default to true for new_dtags. |