Implement -q/--emit-relocs.
[deliverable/binutils-gdb.git] / gold / parameters.cc
index a53908ffc7cb80c51a3a194aa44a4646bb2a53ed..56de281114d615e854057b08a72015b4d0720036 100644 (file)
@@ -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();
This page took 0.023924 seconds and 4 git commands to generate.