Commit cee60343 authored by hubicka's avatar hubicka
Browse files

PR lto/45375

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168580 138bc75d-0d04-0410-961f-82ee72b054a4
parent e079db8d
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