aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-03-13 21:30:06 +0000
committerIan Lance Taylor <ian@airs.com>2009-03-13 21:30:06 +0000
commitf1ed28fb810fb8c43821bd18a94826e56973c235 (patch)
treebfd1c393f5e10958b0552e54bef19984d7440158 /gold/fileread.h
parent9ee6bb930d0c1e44c3970965e0c981fa4c06dd8b (diff)
downloadgdb-f1ed28fb810fb8c43821bd18a94826e56973c235.zip
gdb-f1ed28fb810fb8c43821bd18a94826e56973c235.tar.gz
gdb-f1ed28fb810fb8c43821bd18a94826e56973c235.tar.bz2
* 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.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r--gold/fileread.h5
1 files changed, 2 insertions, 3 deletions
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_;