Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 8e8f77ec2b6262e7d10af54700c340173d957267 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 13/13] Fix an internal error in do_print_to_mapfile seen with |
| 5 | gold on arm |
| 6 | |
| 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 |
| 10 | |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | |
| 13 | Upstream-Status: Submitted |
| 14 | --- |
| 15 | gold/attributes.h | 4 ++++ |
| 16 | 1 file changed, 4 insertions(+) |
| 17 | |
| 18 | diff --git a/gold/attributes.h b/gold/attributes.h |
| 19 | index 2aa7a78..3d126e6 100644 |
| 20 | --- a/gold/attributes.h |
| 21 | +++ b/gold/attributes.h |
| 22 | @@ -387,6 +387,10 @@ class Output_attributes_section_data : public Output_section_data |
| 23 | { } |
| 24 | |
| 25 | protected: |
| 26 | + // Write to a map file. |
| 27 | + void |
| 28 | + do_print_to_mapfile(Mapfile* mapfile) const |
| 29 | + { mapfile->print_output_data(this, _("** attributes")); } |
| 30 | // Write the data to the output file. |
| 31 | void |
| 32 | do_write(Output_file*); |
| 33 | -- |
| 34 | 2.1.4 |
| 35 | |