aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-07 04:35:41 +0000
committerIan Lance Taylor <iant@google.com>2008-02-07 04:35:41 +0000
commit5fe2a0f55b19713f5cfb423687ce51291c62d8d8 (patch)
treed869434a9e4785e9de6b537dd5920c84255d5242 /gold/gold.cc
parent88dd47ac00ee5a932bca9abbd2245c429dfd8f5b (diff)
downloadgdb-5fe2a0f55b19713f5cfb423687ce51291c62d8d8.zip
gdb-5fe2a0f55b19713f5cfb423687ce51291c62d8d8.tar.gz
gdb-5fe2a0f55b19713f5cfb423687ce51291c62d8d8.tar.bz2
Even when stripping all symbols, we need to write out the dynamic
symbol table.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r--gold/gold.cc17
1 files changed, 7 insertions, 10 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index 4b52b57..f067557 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -307,16 +307,13 @@ queue_final_tasks(const General_options& options,
Task_token* final_blocker = new Task_token(true);
// Queue a task to write out the symbol table.
- if (!options.strip_all())
- {
- final_blocker->add_blocker();
- workqueue->queue(new Write_symbols_task(symtab,
- input_objects,
- layout->sympool(),
- layout->dynpool(),
- of,
- final_blocker));
- }
+ final_blocker->add_blocker();
+ workqueue->queue(new Write_symbols_task(symtab,
+ input_objects,
+ layout->sympool(),
+ layout->dynpool(),
+ of,
+ final_blocker));
// Queue a task to write out the output sections.
output_sections_blocker->add_blocker();