aboutsummaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r--gold/parameters.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc
index 817268b..7fe9ceb 100644
--- a/gold/parameters.cc
+++ b/gold/parameters.cc
@@ -35,7 +35,8 @@ Parameters::Parameters(const General_options* options, Errors* errors)
sysroot_(options->sysroot()),
is_doing_static_link_valid_(false), doing_static_link_(false),
is_size_and_endian_valid_(false), size_(0), is_big_endian_(false),
- optimization_level_(options->optimization_level())
+ optimization_level_(options->optimization_level()),
+ export_dynamic_(options->export_dynamic())
{
if (options->is_shared())
this->output_file_type_ = OUTPUT_SHARED;