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/archive.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/archive.cc')
-rw-r--r-- | gold/archive.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index 2125608..4e15806 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -93,7 +93,7 @@ Archive::setup(Task* task) this->read_armap(sarmag + sizeof(Archive_header), armap_size); off = sarmag + sizeof(Archive_header) + armap_size; } - else if (!this->input_file_->options().include_whole_archive()) + else if (!this->input_file_->options().whole_archive()) gold_error(_("%s: no archive symbol table (run ranlib)"), this->name().c_str()); @@ -265,7 +265,7 @@ void Archive::add_symbols(Symbol_table* symtab, Layout* layout, Input_objects* input_objects) { - if (this->input_file_->options().include_whole_archive()) + if (this->input_file_->options().whole_archive()) return this->include_all_members(symtab, layout, input_objects); const size_t armap_size = this->armap_.size(); |