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.
This commit is contained in:
Rafael Ávila de Espíndola
2015-03-27 09:50:23 -04:00
parent ce9c0ca18f
commit 0916f9e741
5 changed files with 67 additions and 29 deletions

View File

@@ -1215,6 +1215,9 @@ class Relobj : public Object
relocs_must_follow_section_writes() const
{ return this->relocs_must_follow_section_writes_; }
Object_merge_map*
get_or_create_merge_map();
template<int size>
void
initialize_input_to_output_map(unsigned int shndx,