mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
Exit if we couldn't open any input files.
This commit is contained in:
@ -161,6 +161,13 @@ queue_middle_tasks(const General_options& options,
|
|||||||
Layout* layout,
|
Layout* layout,
|
||||||
Workqueue* workqueue)
|
Workqueue* workqueue)
|
||||||
{
|
{
|
||||||
|
if (input_objects->number_of_input_objects() == 0)
|
||||||
|
{
|
||||||
|
// We had some input files, but we weren't able to open any of
|
||||||
|
// them.
|
||||||
|
gold_fatal(_("no input files"));
|
||||||
|
}
|
||||||
|
|
||||||
int thread_count = options.thread_count_middle();
|
int thread_count = options.thread_count_middle();
|
||||||
if (thread_count == 0)
|
if (thread_count == 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user