* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
bfd/
	* simple.c (bfd_simple_get_relocated_section_content): Init
	input_bfds_tail.
ld/
	* ldlang.c (ldlang_add_file): Use input_bfds_tail.
	* ldmain.c (main): Init input_bfds_tail.  Sort link_info
	initialization.
This commit is contained in:
Alan Modra 2007-05-31 15:04:51 +00:00
parent 5196ceede1
commit fa7ccaf7e5
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-06-01 Noah Misch <noah@cs.caltech.edu>
Alan Modra <amodra@bigpond.net.au>
* bfdlink.h (struct bfd_link_info): Add input_bfds_tail.
2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
* libiberty.h (writeargv): Declare.

View File

@ -395,6 +395,7 @@ struct bfd_link_info
/* The list of input BFD's involved in the link. These are chained
together via the link_next field. */
bfd *input_bfds;
bfd **input_bfds_tail;
/* If a symbol should be created for each input BFD, this is section
where those symbols should be placed. It must be a section in