forked from Imagelibrary/binutils-gdb
avoid std::vector copy.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2015-02-17 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||||
|
|
||||||
|
* object.cc (write_local_symbols): avoid std::vector copy.
|
||||||
|
|
||||||
2015-02-17 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
2015-02-17 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
|
||||||
|
|
||||||
* merge.cc (get_output_offset): Use upper_bound instead of lower_bound.
|
* merge.cc (get_output_offset): Use upper_bound instead of lower_bound.
|
||||||
|
|||||||
@@ -2589,7 +2589,7 @@ Sized_relobj_file<size, big_endian>::write_local_symbols(
|
|||||||
dyn_oview = of->get_output_view(this->local_dynsym_offset_,
|
dyn_oview = of->get_output_view(this->local_dynsym_offset_,
|
||||||
dyn_output_size);
|
dyn_output_size);
|
||||||
|
|
||||||
const Output_sections out_sections(this->output_sections());
|
const Output_sections& out_sections(this->output_sections());
|
||||||
|
|
||||||
gold_assert(this->local_values_.size() == loccount);
|
gold_assert(this->local_values_.size() == loccount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user