diff options
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 4cc5927..3d1e5a41 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1809,6 +1809,9 @@ load_symbols (lang_input_statement_type *entry, ldfile_assumed_script = TRUE; parser_input = input_script; + /* We want to use the same -Bdynamic/-Bstatic as the one for + ENTRY. */ + config.dynamic_link = entry->dynamic; yyparse (); ldfile_assumed_script = FALSE; |