diff options
author | Alan Modra <amodra@gmail.com> | 2006-06-20 16:37:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-06-20 16:37:29 +0000 |
commit | f5ff60a6dbea1734faee327a99825461b10f2ae6 (patch) | |
tree | 73824b0702633b20adea1f5ba4cf8c87d266d6c7 /ld/ldlang.c | |
parent | 6a4a0940e56e3f60f38b2b49991efc0969bc206a (diff) | |
download | gdb-f5ff60a6dbea1734faee327a99825461b10f2ae6.zip gdb-f5ff60a6dbea1734faee327a99825461b10f2ae6.tar.gz gdb-f5ff60a6dbea1734faee327a99825461b10f2ae6.tar.bz2 |
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
loop to ten iterations. Throw away any previous linker generated
segment map.
* ldlang.c (lang_phdr_list): Make global.
* ldlang.h (lang_phdr_list): Declare.
* Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 8d9eaf6..cc08726 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -62,7 +62,6 @@ static lang_input_statement_type *first_file; static const char *current_target; static const char *output_target; static lang_statement_list_type statement_list; -static struct lang_phdr *lang_phdr_list; static struct bfd_hash_table lang_definedness_table; /* Forward declarations. */ @@ -98,6 +97,7 @@ bfd_boolean lang_has_input_file = FALSE; bfd_boolean had_output_filename = FALSE; bfd_boolean lang_float_flag = FALSE; bfd_boolean delete_output_file_on_failure = FALSE; +struct lang_phdr *lang_phdr_list; struct lang_nocrossrefs *nocrossref_list; static struct unique_sections *unique_section_list; static bfd_boolean ldlang_sysrooted_script = FALSE; |