diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldlang.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ca12975..b3207cc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2019-09-12 Alan Modra <amodra@gmail.com> + + PR 24981 + * ldlang.c (lang_process): Remove assertion. Comment. + 2019-09-11 Alan Modra <amodra@gmail.com> * emultempl/elf32.em: Remove "misnamed" comment. Rename to.. 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; } } |