X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fattributes.h;h=349dab8f2bb4af94299d01012d733973cae9db1a;hb=465e1b0f196faea1fc949863af023b762ef86188;hp=c0b171f7b82d8bfd17b4c32f5564790f9151022c;hpb=b90efa5b79ac1524ec260f8eb89d1be37e0219a7;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/attributes.h b/gold/attributes.h index c0b171f7b8..349dab8f2b 100644 --- a/gold/attributes.h +++ b/gold/attributes.h @@ -1,6 +1,6 @@ // attributes.h -- object attributes for gold -*- C++ -*- -// Copyright (C) 2009-2015 Free Software Foundation, Inc. +// Copyright (C) 2009-2020 Free Software Foundation, Inc. // Written by Doug Kwan . // This file contains code adapted from BFD. @@ -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*);