aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2012-12-19 02:55:15 +0000
committerSriraman Tallam <tmsriram@google.com>2012-12-19 02:55:15 +0000
commit28f2a4ac6f40b5bf1fccc1fa320b41f82f3c5cc9 (patch)
tree07a61340c8370a3db3f6fdafa7c020d26eaaf70e /gold/ChangeLog
parente0e51b23915fa452d757ee8e36d84324b6b53e7b (diff)
downloadgdb-28f2a4ac6f40b5bf1fccc1fa320b41f82f3c5cc9.zip
gdb-28f2a4ac6f40b5bf1fccc1fa320b41f82f3c5cc9.tar.gz
gdb-28f2a4ac6f40b5bf1fccc1fa320b41f82f3c5cc9.tar.bz2
Group text sections with prefixes .text.unlikely,.text.hot and .text.startup
by default. 2012-12-18 Sriraman Tallam <tmsriram@google.com> * layout.cc (Layout::is_section_name_prefix_grouped): New function. * layout.h (Layout::is_section_name_prefix_grouped): New function. * output.cc (Output_section::add_input_section): Check if section name contains special prefix. Keep input sections to sort such sections. (Output_section::Input_section_sort_section_order_index_compare ::operator()): Group sections according to prefixes. * (Output_section::sort_attached_input_sections): Add condition to Input_section_entry constructor call. * testsuite/Makefile.am (text_section_grouping): New test. * testsuite/Makefile.in: Regenerate. * testsuite/text_section_grouping.cc: New file. * testsuite/text_section_grouping.sh: New file.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index b97d8a2..62ddbc6 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,19 @@
+2012-12-18 Sriraman Tallam <tmsriram@google.com>
+
+ * layout.cc (Layout::is_section_name_prefix_grouped): New function.
+ * layout.h (Layout::is_section_name_prefix_grouped): New function.
+ * output.cc (Output_section::add_input_section): Check if section
+ name contains special prefix. Keep input sections to sort such
+ sections.
+ (Output_section::Input_section_sort_section_order_index_compare
+ ::operator()): Group sections according to prefixes.
+ * (Output_section::sort_attached_input_sections): Add condition
+ to Input_section_entry constructor call.
+ * testsuite/Makefile.am (text_section_grouping): New test.
+ * testsuite/Makefile.in: Regenerate.
+ * testsuite/text_section_grouping.cc: New file.
+ * testsuite/text_section_grouping.sh: New file.
+
2012-12-17 Nick Clifton <nickc@redhat.com>
* Makefile.am: Add copyright notice.