diff options
Diffstat (limited to 'ld/plugin.c')
-rw-r--r-- | ld/plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/plugin.c b/ld/plugin.c index 80d22e2..8042940 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -1195,6 +1195,7 @@ plugin_object_p (bfd *ibfd) void plugin_maybe_claim (lang_input_statement_type *entry) { + ASSERT (entry->header.type == lang_input_statement_enum); if (plugin_object_p (entry->the_bfd)) { bfd *abfd = entry->the_bfd->plugin_dummy_bfd; |