projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[GOLD] icf_safe_so_test
[binutils-gdb.git]
/
gold
/
attributes.h
diff --git
a/gold/attributes.h
b/gold/attributes.h
index 7c4baf4b9507b7c245fb9cf3a662aa032437a44c..396e98e55f032648db6a8e6c68771b8cda99687b 100644
(file)
--- a/
gold/attributes.h
+++ b/
gold/attributes.h
@@
-1,6
+1,6
@@
// attributes.h -- object attributes for gold -*- C++ -*-
// attributes.h -- object attributes for gold -*- C++ -*-
-// Copyright
2009
Free Software Foundation, Inc.
+// Copyright
(C) 2009-2018
Free Software Foundation, Inc.
// Written by Doug Kwan <dougkwan@google.com>.
// This file contains code adapted from BFD.
// 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
// Determine what arguments an attribute tag takes.
static int
- arg_type
(int vendor, int tag)
+ arg_type(int vendor, int tag)
{
switch (vendor)
{
{
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
// 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
{
// 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_; }
other_attributes() const
{ return &this->other_attributes_; }
- // Return a new attribute ass
s
ociated with TAG.
+ // Return a new attribute associated with TAG.
Object_attribute*
new_attribute(int tag);
Object_attribute*
new_attribute(int tag);
@@
-387,6
+387,11
@@
class Output_attributes_section_data : public Output_section_data
{ }
protected:
{ }
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*);
// Write the data to the output file.
void
do_write(Output_file*);