diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-13 21:30:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-13 21:30:06 +0000 |
commit | f1ed28fb810fb8c43821bd18a94826e56973c235 (patch) | |
tree | bfd1c393f5e10958b0552e54bef19984d7440158 /gold/fileread.h | |
parent | 9ee6bb930d0c1e44c3970965e0c981fa4c06dd8b (diff) | |
download | gdb-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.h | 5 |
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_; |