* 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.
This commit is contained in:
Alan Modra 2006-06-20 16:37:29 +00:00
parent 6a4a0940e5
commit f5ff60a6db
6 changed files with 182 additions and 306 deletions

View file

@ -381,6 +381,8 @@ struct lang_phdr
etree_type *flags;
};
extern struct lang_phdr *lang_phdr_list;
/* This structure is used to hold a list of sections which may not
cross reference each other. */