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:
H.J. Lu 2004-10-19 15:44:58 +00:00
parent 4b85d634bf
commit 532345f2da
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.
2004-10-16 Daniel Jacobowitz <dan@debian.org>
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)

View File

@ -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;