* options.cc: Include "demangle.h".
[deliverable/binutils-gdb.git] / gold / fileread.h
index d43087651909529d6b6a5652ec6a8aec4b0c8824..3d59f4feb752f7bcada7ba664b4a0eb9a325e069 100644 (file)
@@ -1,6 +1,6 @@
 // fileread.h -- read files for gold   -*- C++ -*-
 
-// Copyright 2006, 2007 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -28,6 +28,7 @@
 #include <list>
 #include <map>
 #include <string>
+#include <vector>
 
 #include "token.h"
 
@@ -417,10 +418,19 @@ class Input_file
   is_in_sysroot() const
   { return this->is_in_sysroot_; }
 
+  // Return whether this file is to be read only for its symbols.
+  bool
+  just_symbols() const;
+
  private:
   Input_file(const Input_file&);
   Input_file& operator=(const Input_file&);
 
+  // Open a binary file.
+  bool
+  open_binary(const General_options&, const Task* task,
+             const std::string& name);
+
   // The argument from the command line.
   const Input_file_argument* input_argument_;
   // The name under which we opened the file.  This is like the name
This page took 0.023994 seconds and 4 git commands to generate.