1 From 54583eb23233b5369372ae41768655693d0584ef Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Fri, 27 Feb 2015 09:05:49 +0000
4 Subject: [PATCH] Fix an internal error in do_print_to_mapfile seen with gold
7 This is due to missing implementation of do_print_to_mapfile for
8 atrributea section (ARM.attributes), it started to show up after fix
9 for PR gold/16980 was installed
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 Upstream-Status: Submitted
15 gold/ChangeLog | 5 +++++
16 gold/attributes.h | 4 ++++
17 2 files changed, 9 insertions(+)
19 diff --git a/gold/attributes.h b/gold/attributes.h
20 index c0b171f..6e3ab8c 100644
21 --- a/gold/attributes.h
22 +++ b/gold/attributes.h
23 @@ -387,6 +387,10 @@ class Output_attributes_section_data : public Output_section_data
27 + // Write to a map file.
29 + do_print_to_mapfile(Mapfile* mapfile) const
30 + { mapfile->print_output_data(this, _("** attributes")); }
31 // Write the data to the output file.
33 do_write(Output_file*);