avoid std::vector copy.
This commit is contained in:
parent
45a4fb1a70
commit
e0a1e121b3
@ -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>
|
||||
|
||||
* 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_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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user