Remove is_merge_section_for.

Now that Input_merge_map has an Output_section_data, we can use it in
implementing find_merge_section and replace the only use of is_merge_section_for
with it.
This commit is contained in:
Rafael Ávila de Espíndola
2015-03-23 09:16:49 -04:00
parent 99067e2973
commit 67f95b96b4
7 changed files with 71 additions and 115 deletions

View File

@@ -1232,9 +1232,8 @@ class Relobj : public Object
merge_output_offset(unsigned int shndx, section_offset_type offset,
section_offset_type *poutput) const;
bool
is_merge_section_for(const Output_section_data* output_data,
unsigned int shndx) const;
const Output_section_data*
find_merge_section(unsigned int shndx) const;
// Record the relocatable reloc info for an input reloc section.
void