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/archive.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gold/archive.cc') diff --git a/gold/archive.cc b/gold/archive.cc index 6c4a36c..33a752e 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; -- cgit v1.1