Commit fe95fbf9 by Jan Hubicka Committed by Jan Hubicka

re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)

	PR lto/45375
	* lto-opt.c (lto_reissue_options): Set flag_shlib.

From-SVN: r168580
parent eaf31d82
2011-01-07 Jan Hubicka <jh@suse.cz>
PR lto/45375
* lto-opt.c (lto_reissue_options): Set flag_shlib.
2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
* target.def (function_switched_text_sections): New Hook.
......
......@@ -420,5 +420,9 @@ lto_reissue_options (void)
gcc_unreachable ();
}
/* Flag_shlib is usually set by finish_options, but we are issuing flag_pic
too late. */
if (flag_pic && !flag_pie)
flag_shlib = 1;
VEC_free (opt_t, heap, opts);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment