aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-03-27 09:50:23 -0400
committerRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-03-27 09:51:15 -0400
commit0916f9e741d6fd9dab4b0602bef034d01fa71650 (patch)
treee9211650540fe6ea80b55f581e26159d2776e30c /gold/ChangeLog
parentce9c0ca18fe50e1e5a87b135032e4aeba415e2ab (diff)
downloadgdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.zip
gdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.tar.gz
gdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.tar.bz2
Avoid looking up Input_merge_map multiple times.
Avoid looking up Input_merge_map multiple times when we know were are processing items from the same input section.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index f970e66..39e025e 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,17 @@
+2015-03-27 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+ * merge.cc (Object_merge_map::add_mapping): call
+ Object_merge_map::Input_merge_map::add_mapping.
+ (Object_merge_map::Input_merge_map::add_mapping): New.
+ (Output_merge_data::do_add_input_section): Call
+ get_or_make_input_merge_map before a loop.
+ (Output_merge_string<Char_type>::finalize_merged_data): Call
+ get_or_make_input_merge_map before a loop.
+ * merge.h (Object_merge_map): Make Input_merge_map public.
+ * object.cc (Relobj::add_merge_mapping): Use get_or_create_merge_map.
+ (Relobj::get_or_create_merge_map): New.
+ * object.h (Relobj::get_or_create_merge_map): New.
+
2015-03-24 Alan Modra <amodra@gmail.com>
PR 18147