forked from Imagelibrary/binutils-gdb
PR ld/13287
* plugin.c (plugin_should_reload): New function. * plugin.h (plugin_should_reload): Declare. * ldlang.c (open_input_bfds): Use above function.
This commit is contained in:
@@ -3282,7 +3282,8 @@ open_input_bfds (lang_statement_union_type *s, enum open_bfd_mode mode)
|
||||
&& plugin_insert == NULL
|
||||
&& s->input_statement.loaded
|
||||
&& s->input_statement.add_DT_NEEDED_for_regular
|
||||
&& ((s->input_statement.the_bfd->flags) & DYNAMIC) != 0)
|
||||
&& ((s->input_statement.the_bfd->flags) & DYNAMIC) != 0
|
||||
&& plugin_should_reload (s->input_statement.the_bfd))
|
||||
{
|
||||
s->input_statement.loaded = FALSE;
|
||||
s->input_statement.reload = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user