aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index d5a2b49..5a34e5c 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -7502,8 +7502,9 @@ lang_process (void)
prev = find_next_input_statement (prev);
if (*prev != (void *) plugin_insert->next_real_file)
{
- /* Huh? We didn't find the expected input statement. */
- ASSERT (0);
+ /* We didn't find the expected input statement.
+ This can happen due to lookup_name creating input
+ statements not linked into the statement list. */
prev = &plugin_insert->header.next;
}
}