// 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.
#include <list>
#include <map>
#include <string>
+#include <vector>
#include "token.h"
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