Revert the optimization of the placement of LTO objects as a temporary solution for PR 22751.

	PR 22751
	Revert this change as a temporary solution for this PR:

	2017-09-02  Alan Modra  <amodra@gmail.com>

	* ldlang.h (lang_input_statement_type): Expand comments.
	(LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts.
	* ldlang.c (lang_for_each_input_file): Likewise.
	(load_symbols): Set usrdata for archives.
	(find_rescan_insertion): New function.
	(lang_process): Trim off and reinsert entries added to file chain
	when rescanning archives for LTO.
	* ldmain.c (add_archive_element): Set my_archive input_statement
	next pointer to last element added.
4 files changed