mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 10:55:46 +08:00
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR 459 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic option on linker script as the one for linker script.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user