On Tue, 24 Feb 2015, Jakub Jelinek wrote:
> On Tue, Feb 24, 2015 at 08:48:19PM +0100, Jan Hubicka wrote:
> > Thanks, the i386 parts of the patch are OK, but I think you want to add the
> > reverse
> > transformation, too. I.e. if someone compiles with -fPIC but links without.
>
> I've only done
On 02/24/15 15:56, Jakub Jelinek wrote:
On Tue, Feb 24, 2015 at 10:21:23PM +0100, Jan Hubicka wrote:
On Tue, Feb 24, 2015 at 08:48:19PM +0100, Jan Hubicka wrote:
Thanks, the i386 parts of the patch are OK, but I think you want to add the
reverse
transformation, too. I.e. if someone compiles w
On Tue, Feb 24, 2015 at 10:21:23PM +0100, Jan Hubicka wrote:
> > On Tue, Feb 24, 2015 at 08:48:19PM +0100, Jan Hubicka wrote:
> > > Thanks, the i386 parts of the patch are OK, but I think you want to add
> > > the reverse
> > > transformation, too. I.e. if someone compiles with -fPIC but links
>
> On Tue, Feb 24, 2015 at 08:48:19PM +0100, Jan Hubicka wrote:
> > Thanks, the i386 parts of the patch are OK, but I think you want to add the
> > reverse
> > transformation, too. I.e. if someone compiles with -fPIC but links without.
>
> I've only done it this way because that is what
> ix86_op
On Tue, Feb 24, 2015 at 08:48:19PM +0100, Jan Hubicka wrote:
> Thanks, the i386 parts of the patch are OK, but I think you want to add the
> reverse
> transformation, too. I.e. if someone compiles with -fPIC but links without.
I've only done it this way because that is what
ix86_option_override_
> Hi!
>
> As mentioned in the PR, the ix86_cmodel option is TargetSave,
> but during option processing is adjusted from flag_pic, which is
> for LTO a global option.
> This causes a problem when some translation unit is compiled with LTO
> without -fpic, and then the final link is done with -fpic
Hi!
As mentioned in the PR, the ix86_cmodel option is TargetSave,
but during option processing is adjusted from flag_pic, which is
for LTO a global option.
This causes a problem when some translation unit is compiled with LTO
without -fpic, and then the final link is done with -fpic - then
ix86_cm