Stringpool stats. Also make Symbol_table support functions inline.
[deliverable/binutils-gdb.git] / gold / target-select.h
index 8ccd75fac757317eab79a9ec88a05a5ce273b16b..da27bd4df9cb3c133f66edb753bb196a68465578 100644 (file)
@@ -1,5 +1,25 @@
 // target-select.h -- select a target for an object file  -*- C++ -*-
 
+// Copyright 2006, 2007 Free Software Foundation, Inc.
+// Written by Ian Lance Taylor <iant@google.com>.
+
+// This file is part of gold.
+
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+// MA 02110-1301, USA.
+
 #ifndef GOLD_TARGET_SELECT_H
 #define GOLD_TARGET_SELECT_H
 
@@ -22,7 +42,7 @@ class Target_selector
   // Create a target selector for a specific machine number, size (32
   // or 64), and endianness.  The machine number can be EM_NONE to
   // test for any machine number.
-  Target_selector(int machine, int size, bool big_endian);
+  Target_selector(int machine, int size, bool is_big_endian);
 
   virtual ~Target_selector()
   { }
@@ -44,18 +64,18 @@ class Target_selector
 
   // Return the size this is looking for (32 or 64).
   int
-  size() const
+  get_size() const
   { return this->size_; }
 
   // Return the endianness this is looking for.
   bool
-  big_endian() const
-  { return this->big_endian_; }
+  is_big_endian() const
+  { return this->is_big_endian_; }
 
  private:
   int machine_;
   int size_;
-  bool big_endian_;
+  bool is_big_endian_;
   Target_selector* next_;
 };
 
This page took 0.02293 seconds and 4 git commands to generate.