aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/attributes.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 31d123e..10fc03b 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-02 Khem Raj <raj.khem@gmail.com>
+
+ * attributes.h (class Output_attributes_section_data ): Add
+ do_print_to_mapfile function.
+
2015-02-24 Alan Modra <amodra@gmail.com>
PR 18010
diff --git a/gold/attributes.h b/gold/attributes.h
index c0b171f..efb1b5c 100644
--- a/gold/attributes.h
+++ b/gold/attributes.h
@@ -387,6 +387,11 @@ class Output_attributes_section_data : public Output_section_data
{ }
protected:
+ // Write to a map file.
+ void
+ do_print_to_mapfile(Mapfile* mapfile) const
+ { mapfile->print_output_data(this, _("** attributes")); }
+
// Write the data to the output file.
void
do_write(Output_file*);