Use std::upper_bound to simplify code a bit.
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>
Tue, 17 Feb 2015 15:43:20 +0000 (10:43 -0500)
committerRafael Ávila de Espíndola <rafael.espindola@gmail.com>
Tue, 17 Feb 2015 15:44:37 +0000 (10:44 -0500)
commit45a4fb1a700abeb4b3d8315b312ab31eee8efe72
treee9e7927f5cec9ab0957d76f7130da34b9d1352d7
parentb05e3b0dd2a257f7f0c1e23ff4c36f369438ea81
Use std::upper_bound to simplify code a bit.

With std::upper_bound we don't have to check p->input_offset > input_offset.
gold/ChangeLog
gold/merge.cc