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/parameters.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/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index e6b9682..5723b80 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -51,16 +51,16 @@ Parameters::set_from_options(const General_options* options) this->output_file_name_ = options->output_file_name(); this->sysroot_ = options->sysroot(); this->allow_shlib_undefined_ = options->allow_shlib_undefined(); - this->symbolic_ = options->symbolic(); + this->symbolic_ = options->Bsymbolic(); this->demangle_ = options->demangle(); this->detect_odr_violations_ = options->detect_odr_violations(); - this->optimization_level_ = options->optimization_level(); + this->optimization_level_ = options->optimize(); this->export_dynamic_ = options->export_dynamic(); this->debug_ = options->debug(); - if (options->is_shared()) + if (options->shared()) this->output_file_type_ = OUTPUT_SHARED; - else if (options->is_relocatable()) + else if (options->relocatable()) this->output_file_type_ = OUTPUT_OBJECT; else this->output_file_type_ = OUTPUT_EXECUTABLE; |