diff options
author | Rafael Ávila de Espíndola <rafael.espindola@gmail.com> | 2015-03-27 09:50:23 -0400 |
---|---|---|
committer | Rafael Ávila de Espíndola <rafael.espindola@gmail.com> | 2015-03-27 09:51:15 -0400 |
commit | 0916f9e741d6fd9dab4b0602bef034d01fa71650 (patch) | |
tree | e9211650540fe6ea80b55f581e26159d2776e30c /gold/object.h | |
parent | ce9c0ca18fe50e1e5a87b135032e4aeba415e2ab (diff) | |
download | gdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.zip gdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.tar.gz gdb-0916f9e741d6fd9dab4b0602bef034d01fa71650.tar.bz2 |
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.
Diffstat (limited to 'gold/object.h')
-rw-r--r-- | gold/object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/object.h b/gold/object.h index c26acf3..fc93abd 100644 --- a/gold/object.h +++ b/gold/object.h @@ -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, |