diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-16 23:23:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-16 23:23:08 +0000 |
commit | 436ca963fd42564971f2906e4ba7263d513e483c (patch) | |
tree | 422fb94d22ab9e5df3475ff43c3b734625a489f2 /gold/gold.cc | |
parent | a360aedd0fd0e2c02c0896046bec126e6ad72308 (diff) | |
download | gdb-436ca963fd42564971f2906e4ba7263d513e483c.zip gdb-436ca963fd42564971f2906e4ba7263d513e483c.tar.gz gdb-436ca963fd42564971f2906e4ba7263d513e483c.tar.bz2 |
From Cary Coutant: preliminary shared library support.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index 1396524..8c86b9e 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -153,7 +153,8 @@ queue_middle_tasks(const General_options& options, Workqueue* workqueue) { // Now we have seen all the input files. - const bool doing_static_link = !input_objects->any_dynamic(); + const bool doing_static_link = (!input_objects->any_dynamic() + && !parameters->output_is_shared()); set_parameters_doing_static_link(doing_static_link); if (!doing_static_link && options.is_static()) { |