X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fattributes.h;h=2aa7a78a725910b59950e64b47d836ed8960ee71;hb=f9dffbf0863b9010a5eece87bd6b36e38c09ffb0;hp=dbfba845c2c62a38043ffd0d23f2a823ef609c28;hpb=b0eec2ccdafc32f2d0d82d8582fe28d91ea5a679;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/attributes.h b/gold/attributes.h index dbfba845c2..2aa7a78a72 100644 --- a/gold/attributes.h +++ b/gold/attributes.h @@ -1,6 +1,6 @@ // attributes.h -- object attributes for gold -*- C++ -*- -// Copyright 2009 Free Software Foundation, Inc. +// Copyright (C) 2009-2014 Free Software Foundation, Inc. // Written by Doug Kwan . // This file contains code adapted from BFD. @@ -103,8 +103,8 @@ class Object_attribute // Set attribute type. void - set_type(int at) - { this->type_ = at; } + set_type(int type) + { this->type_ = type; } // Return integer value. unsigned int @@ -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);