From 5b07cd848db1dbe9e3498e94bea5e69c8e438153 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Mon, 2 Mar 2015 10:10:52 -0800 Subject: [PATCH] Fix an internal error in do_print_to_mapfile on Arm. 2015-02-02 Khem Raj gold/ * attributes.h (class Output_attributes_section_data ): Add do_print_to_mapfile function. --- gold/ChangeLog | 5 +++++ gold/attributes.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index 31d123e603d..10fc03b3ec1 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2015-02-02 Khem Raj + + * attributes.h (class Output_attributes_section_data ): Add + do_print_to_mapfile function. + 2015-02-24 Alan Modra PR 18010 diff --git a/gold/attributes.h b/gold/attributes.h index c0b171f7b82..efb1b5c3e1b 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*); -- 2.30.2