aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2015-03-02 10:10:52 -0800
committerCary Coutant <ccoutant@google.com>2015-03-02 10:10:52 -0800
commit5b07cd848db1dbe9e3498e94bea5e69c8e438153 (patch)
tree54434cb53ea0101a4d7b2b4041f1f6ae64ad946f /gold/attributes.h
parentgdb.texinfo (Specify Location): Fix syntax of filename:function. (diff)
downloadbinutils-gdb-5b07cd848db1dbe9e3498e94bea5e69c8e438153.tar.gz
binutils-gdb-5b07cd848db1dbe9e3498e94bea5e69c8e438153.tar.bz2
binutils-gdb-5b07cd848db1dbe9e3498e94bea5e69c8e438153.zip
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.
Diffstat (limited to 'gold/attributes.h')
-rw-r--r--gold/attributes.h5
1 files changed, 5 insertions, 0 deletions
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*);