mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 01:24:12 +08:00
Don't write out the symbol table when stripping.
This commit is contained in:
@ -286,6 +286,8 @@ 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.
|
||||||
|
if (!options.strip_all())
|
||||||
|
{
|
||||||
final_blocker->add_blocker();
|
final_blocker->add_blocker();
|
||||||
workqueue->queue(new Write_symbols_task(symtab,
|
workqueue->queue(new Write_symbols_task(symtab,
|
||||||
input_objects,
|
input_objects,
|
||||||
@ -293,6 +295,7 @@ queue_final_tasks(const General_options& options,
|
|||||||
layout->dynpool(),
|
layout->dynpool(),
|
||||||
of,
|
of,
|
||||||
final_blocker));
|
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