diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-27 22:38:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-27 22:38:18 +0000 |
commit | 7019cd256559b48bc642fcb8ff9a4ea9e98bced7 (patch) | |
tree | c88847678e9c212b482d4a30beccdd74abdd90c6 /gold/parameters.cc | |
parent | 20b4711e0556d73b7a16250447ee5ca505b834db (diff) | |
download | gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.zip gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.gz gdb-7019cd256559b48bc642fcb8ff9a4ea9e98bced7.tar.bz2 |
Implement -q/--emit-relocs.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index a53908f..56de281 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -33,7 +33,7 @@ namespace gold Parameters::Parameters(Errors* errors) : errors_(errors), threads_(false), output_file_name_(NULL), - output_file_type_(OUTPUT_INVALID), sysroot_(), + output_file_type_(OUTPUT_INVALID), emit_relocs_(false), sysroot_(), strip_(STRIP_INVALID), allow_shlib_undefined_(false), symbolic_(false), demangle_(false), detect_odr_violations_(false), optimization_level_(0), export_dynamic_(false), debug_(0), @@ -50,6 +50,7 @@ Parameters::set_from_options(const General_options* options) { this->threads_ = options->threads(); this->output_file_name_ = options->output_file_name(); + this->emit_relocs_ = options->emit_relocs(); this->sysroot_ = options->sysroot(); this->allow_shlib_undefined_ = options->allow_shlib_undefined(); this->symbolic_ = options->Bsymbolic(); |