mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
Don't write out the symbol table when stripping.
This commit is contained in:
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.
|
// Queue a task to write out the symbol table.
|
||||||
final_blocker->add_blocker();
|
if (!options.strip_all())
|
||||||
workqueue->queue(new Write_symbols_task(symtab,
|
{
|
||||||
input_objects,
|
final_blocker->add_blocker();
|
||||||
layout->sympool(),
|
workqueue->queue(new Write_symbols_task(symtab,
|
||||||
layout->dynpool(),
|
input_objects,
|
||||||
of,
|
layout->sympool(),
|
||||||
final_blocker));
|
layout->dynpool(),
|
||||||
|
of,
|
||||||
|
final_blocker));
|
||||||
|
}
|
||||||
|
|
||||||
// Queue a task to write out the output sections.
|
// Queue a task to write out the output sections.
|
||||||
output_sections_blocker->add_blocker();
|
output_sections_blocker->add_blocker();
|
||||||
|
Reference in New Issue
Block a user