diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-26 21:45:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-26 21:45:30 +0000 |
commit | 45aa233bdcc27243a2b3e2c699ad0ab59f83901b (patch) | |
tree | 7483af747e28433511eaa64b11233b19473b89c9 /gold/fileread.cc | |
parent | 58abc3ebf63249755146ba6a811ad909732641b1 (diff) | |
download | gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.zip gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.gz gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.bz2 |
From Craig Silverstein: rename option functions for future option
handling rewrite.
Diffstat (limited to 'gold/fileread.cc')
-rw-r--r-- | gold/fileread.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/fileread.cc b/gold/fileread.cc index 8e11175..2defbf8 100644 --- a/gold/fileread.cc +++ b/gold/fileread.cc @@ -643,7 +643,7 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath, n1 += this->input_argument_->name(); std::string n2; if (options.is_static() - || this->input_argument_->options().do_static_search()) + || this->input_argument_->options().Bstatic()) n1 += ".a"; else { @@ -691,7 +691,7 @@ Input_file::open(const General_options& options, const Dirsearch& dirpath, // Now that we've figured out where the file lives, try to open it. General_options::Object_format format = - this->input_argument_->options().input_format(); + this->input_argument_->options().format(); bool ok; if (format == General_options::OBJECT_FORMAT_ELF) ok = this->file_.open(task, name); |