// attributes.h -- object attributes for gold -*- C++ -*-
-// Copyright 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009-2016 Free Software Foundation, Inc.
// Written by Doug Kwan <dougkwan@google.com>.
// This file contains code adapted from BFD.
other_attributes() const
{ return &this->other_attributes_; }
- // Return a new attribute asssociated with TAG.
+ // Return a new attribute associated with TAG.
Object_attribute*
new_attribute(int tag);
{ }
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*);