summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2015-03-02 18:10:52 (GMT)
committerAndrew Hsieh <andrewhsieh@google.com>2015-07-14 17:01:32 (GMT)
commitb22c4c91c4a92f68d19ea318a71059d2202dc453 (patch)
tree8cd954dee49acdc1f298b8984d010c59e06d7429
parente75a9625a658e75feee8e2e2b6d42fa03d47b26d (diff)
downloadtoolchain_binutils-b22c4c91c4a92f68d19ea318a71059d2202dc453.zip
toolchain_binutils-b22c4c91c4a92f68d19ea318a71059d2202dc453.tar.gz
toolchain_binutils-b22c4c91c4a92f68d19ea318a71059d2202dc453.tar.bz2
Fix an internal error in do_print_to_mapfile on Arm.
2015-02-02 Khem Raj <raj.khem@gmail.com> gold/ * attributes.h (class Output_attributes_section_data ): Add do_print_to_mapfile function.
-rw-r--r--binutils-2.25/gold/attributes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.25/gold/attributes.h b/binutils-2.25/gold/attributes.h
index c0b171f..efb1b5c 100644
--- a/binutils-2.25/gold/attributes.h
+++ b/binutils-2.25/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*);