This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix -fPIC issue with GNU LD and LTO
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de, tglek at mozilla dot com
- Date: Wed, 5 Jan 2011 14:20:02 +0100
- Subject: Re: Fix -fPIC issue with GNU LD and LTO
- References: <20110105131525.GC24016@kam.mff.cuni.cz>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jan 05, 2011 at 02:15:25PM +0100, Jan Hubicka wrote:
> + /* Flag_shlib is usually set by finish_options, but we are issing flag_pic
issing?
> + too late. */
> + if (flag_pic && !flag_pie)
> + flag_shlib = 1;
> VEC_free (opt_t, heap, opts);
> }
Jakub