diff options
author | Alan Modra <amodra@gmail.com> | 2007-03-26 11:10:44 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-03-26 11:10:44 +0000 |
commit | dc27aea4b88283415703ab781476f49b4caa65fd (patch) | |
tree | 250c0f58b283a174f5664c7fa324c83a6d2a2d4b /ld/ldlang.c | |
parent | 2d82d84d7dce3978d4c116a63aa4b86364efbfb7 (diff) | |
download | gdb-dc27aea4b88283415703ab781476f49b4caa65fd.zip gdb-dc27aea4b88283415703ab781476f49b4caa65fd.tar.gz gdb-dc27aea4b88283415703ab781476f49b4caa65fd.tar.bz2 |
* Makefile.am: Add dependency on ldemul-list.h for powerpc and
spu target emul files.
* configure.in: Check for mkstemp and waitpid.
* Makefile.in: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.
* ldlang.c (input_file_chain): Make global.
(lang_add_input_file): Don't set lang_has_input_file here.
* ldlang.h (input_file_chain): Declare.
* emultempl/ppc32elf.em (ppc_recognized_file): New function.
(LDEMUL_RECOGNIZED_FILE): Define.
* emultempl/ppc64elf.em (ppc64_recognized_file): New function.
(LDEMUL_RECOGNIZED_FILE): Define.
* emultempl/spuelf.em (struct tflist): New.
(tmp_file_list): New var.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index b223b58..85dd271 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -52,7 +52,6 @@ static struct obstack map_obstack; #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free static const char *startup_file; -static lang_statement_list_type input_file_chain; static bfd_boolean placed_commons = FALSE; static bfd_boolean stripped_excluded_sections = FALSE; static lang_output_section_statement_type *default_common_section; @@ -89,6 +88,7 @@ lang_output_section_statement_type *abs_output_section; lang_statement_list_type lang_output_section_statement; lang_statement_list_type *stat_ptr = &statement_list; lang_statement_list_type file_chain = { NULL, NULL }; +lang_statement_list_type input_file_chain; struct bfd_sym_chain entry_symbol = { NULL, NULL }; static const char *entry_symbol_default = "start"; const char *entry_section = ".text"; @@ -988,7 +988,6 @@ lang_add_input_file (const char *name, lang_input_file_enum_type file_type, const char *target) { - lang_has_input_file = TRUE; return new_afile (name, file_type, target, TRUE); } |