summaryrefslogtreecommitdiff
path: root/gold/parameters.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-16 23:23:08 +0000
committerIan Lance Taylor <iant@google.com>2007-10-16 23:23:08 +0000
commit436ca963fd42564971f2906e4ba7263d513e483c (patch)
tree422fb94d22ab9e5df3475ff43c3b734625a489f2 /gold/parameters.cc
parenta360aedd0fd0e2c02c0896046bec126e6ad72308 (diff)
downloadbinutils-gdb-436ca963fd42564971f2906e4ba7263d513e483c.tar.gz
From Cary Coutant: preliminary shared library support.
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 817268b1624..7fe9ceb1c76 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;