From f1ed28fb810fb8c43821bd18a94826e56973c235 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 13 Mar 2009 21:30:06 +0000 Subject: * fileread.cc (Input_file::open): Remove options parameter. Change all callers. (Input_file::open_binary): Likewise. * script.cc (read_input_script): Likewise. * readsyms.h (class Read_symbols): Remove options_ field. Remove options parameter from constructor. Change all callers. (class Read_script): Likewise. * fileread.h (class Input_file): Update declarations. * script.h (read_input_script): Update declaration. --- gold/fileread.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gold/fileread.h') diff --git a/gold/fileread.h b/gold/fileread.h index 1c0969c..365e7ad 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -434,7 +434,7 @@ class Input_file // Open the file. If the open fails, this will report an error and // return false. bool - open(const General_options&, const Dirsearch&, const Task*); + open(const Dirsearch&, const Task*); // Return the name given by the user. For -lc this will return "c". const char* @@ -485,8 +485,7 @@ class Input_file // Open a binary file. bool - open_binary(const General_options&, const Task* task, - const std::string& name); + open_binary(const Task* task, const std::string& name); // The argument from the command line. const Input_file_argument* input_argument_; -- cgit v1.1