aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-02-17 10:43:20 -0500
committerRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-02-17 10:44:37 -0500
commit45a4fb1a700abeb4b3d8315b312ab31eee8efe72 (patch)
treee9e7927f5cec9ab0957d76f7130da34b9d1352d7 /gold/ChangeLog
parentb05e3b0dd2a257f7f0c1e23ff4c36f369438ea81 (diff)
downloadgdb-45a4fb1a700abeb4b3d8315b312ab31eee8efe72.zip
gdb-45a4fb1a700abeb4b3d8315b312ab31eee8efe72.tar.gz
gdb-45a4fb1a700abeb4b3d8315b312ab31eee8efe72.tar.bz2
Use std::upper_bound to simplify code a bit.
With std::upper_bound we don't have to check p->input_offset > input_offset.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index f83c652..67efa58 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-17 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
+
+ * merge.cc (get_output_offset): Use upper_bound instead of lower_bound.
+
2015-02-09 Mark Wielaard <mjw@redhat.com>
* gdb-index.cc (Gdb_index_info_reader::visit_top_die): Recognize