aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-03-23 09:16:49 -0400
committerRafael Ávila de Espíndola <rafael.espindola@gmail.com>2015-03-23 09:16:49 -0400
commit67f95b96b4d5e8e19520d94bebae92db2f67af74 (patch)
treec98a68289748714bf336f1e5797718ce3e27cbca /gold/object.h
parent99067e2973a6bb1d3a52caafb479ebdc1a420580 (diff)
downloadgdb-67f95b96b4d5e8e19520d94bebae92db2f67af74.zip
gdb-67f95b96b4d5e8e19520d94bebae92db2f67af74.tar.gz
gdb-67f95b96b4d5e8e19520d94bebae92db2f67af74.tar.bz2
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.
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gold/object.h b/gold/object.h
index 1e62c12..c26acf3 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -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