diff options
Diffstat (limited to 'gold/merge.h')
-rw-r--r-- | gold/merge.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/merge.h b/gold/merge.h index cbc8bece427..2aeff1e6fa1 100644 --- a/gold/merge.h +++ b/gold/merge.h @@ -283,6 +283,11 @@ class Output_merge_data : public Output_merge_base void do_write_to_buffer(unsigned char*); + // Write to a map file. + void + do_print_to_mapfile(Mapfile* mapfile) const + { mapfile->print_output_data(this, _("** merge constants")); } + // Print merge stats to stderr. void do_print_merge_stats(const char* section_name); @@ -400,6 +405,11 @@ class Output_merge_string : public Output_merge_base void do_write_to_buffer(unsigned char*); + // Write to a map file. + void + do_print_to_mapfile(Mapfile* mapfile) const + { mapfile->print_output_data(this, _("** merge strings")); } + // Print merge stats to stderr. void do_print_merge_stats(const char* section_name); |