gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gold / attributes.h
index 7c4baf4b9507b7c245fb9cf3a662aa032437a44c..349dab8f2bb4af94299d01012d733973cae9db1a 100644 (file)
@@ -1,6 +1,6 @@
 // attributes.h -- object attributes for gold   -*- C++ -*-
 
-// Copyright 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009-2020 Free Software Foundation, Inc.
 // Written by Doug Kwan <dougkwan@google.com>.
 // This file contains code adapted from BFD.
 
@@ -163,7 +163,7 @@ class Object_attribute
 
   // Determine what arguments an attribute tag takes.
   static int
-  arg_type (int vendor, int tag)
+  arg_type(int vendor, int tag)
   {
     switch (vendor)
       {
@@ -180,7 +180,7 @@ class Object_attribute
   // Determine whether a GNU object attribute tag takes an integer, a
   // string or both.  */
   static int
-  gnu_arg_type (int tag)
+  gnu_arg_type(int tag)
   {
     // Except for Tag_compatibility, for GNU attributes we follow the
     // same rule ARM ones > 32 follow: odd-numbered tags take strings
@@ -257,7 +257,7 @@ class Vendor_object_attributes
   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);
 
@@ -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*);
This page took 0.02406 seconds and 4 git commands to generate.