Default text reordering fix with a flag to turn it off.
[deliverable/binutils-gdb.git] / gold / ChangeLog
index 8e70fddc6fff48e5e9e0780f6949ffb2127a52c3..bcf8c06be0559881566e9b6ca33b772eb8f57d66 100644 (file)
@@ -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.
This page took 0.032615 seconds and 4 git commands to generate.