mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Don't write out the symbol table when stripping.
This commit is contained in:
parent
62c4f6b3c9
commit
116724f39d
17
gold/gold.cc
17
gold/gold.cc
@ -286,13 +286,16 @@ queue_final_tasks(const General_options& options,
|
||||
}
|
||||
|
||||
// Queue a task to write out the symbol table.
|
||||
final_blocker->add_blocker();
|
||||
workqueue->queue(new Write_symbols_task(symtab,
|
||||
input_objects,
|
||||
layout->sympool(),
|
||||
layout->dynpool(),
|
||||
of,
|
||||
final_blocker));
|
||||
if (!options.strip_all())
|
||||
{
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user