summaryrefslogtreecommitdiff
path: root/gold/archive.cc
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/archive.cc
parent9ee6bb930d0c1e44c3970965e0c981fa4c06dd8b (diff)
downloadbinutils-gdb-f1ed28fb810fb8c43821bd18a94826e56973c235.tar.gz
* 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/archive.cc')
-rw-r--r--gold/archive.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gold/archive.cc b/gold/archive.cc
index 6c4a36c3f87..33a752e6348 100644
--- a/gold/archive.cc
+++ b/gold/archive.cc
@@ -482,8 +482,7 @@ Archive::get_file_and_offset(off_t off, Input_objects* input_objects,
new Input_file_argument(member_name->c_str(), false, "", false,
parameters->options());
*input_file = new Input_file(input_file_arg);
- if (!(*input_file)->open(parameters->options(), *this->dirpath_,
- this->task_))
+ if (!(*input_file)->open(*this->dirpath_, this->task_))
return false;
arch = new Archive(*member_name, *input_file, false, this->dirpath_,
this->task_);
@@ -502,8 +501,7 @@ Archive::get_file_and_offset(off_t off, Input_objects* input_objects,
new Input_file_argument(member_name->c_str(), false, "", false,
this->input_file_->options());
*input_file = new Input_file(input_file_arg);
- if (!(*input_file)->open(parameters->options(), *this->dirpath_,
- this->task_))
+ if (!(*input_file)->open(*this->dirpath_, this->task_))
return false;
*memoff = 0;