Re: Fix even more merging PIC and PIE options

2018-08-31 Thread Richard Biener
On Thu, 30 Aug 2018, Jan Hubicka wrote: > > On Fri, 10 Aug 2018, Jan Hubicka wrote: > > > > > Hi, > > > this patch should fix merging of PIC and PIE options so we always resort > > > to the least common denominator of the object files compiled (i.e. > > > linking together -fpic and -fPIE will re

Re: Fix even more merging PIC and PIE options

2018-08-30 Thread Jan Hubicka
> On Fri, 10 Aug 2018, Jan Hubicka wrote: > > > Hi, > > this patch should fix merging of PIC and PIE options so we always resort > > to the least common denominator of the object files compiled (i.e. > > linking together -fpic and -fPIE will result in -fpie binary). > > Note that we also use info

Re: Fix even more merging PIC and PIE options

2018-08-20 Thread Richard Biener
On Fri, 10 Aug 2018, Jan Hubicka wrote: > Hi, > this patch should fix merging of PIC and PIE options so we always resort > to the least common denominator of the object files compiled (i.e. > linking together -fpic and -fPIE will result in -fpie binary). > Note that we also use information about

Re: Fix even more merging PIC and PIE options

2018-08-14 Thread Martin Liška
On 08/10/2018 04:33 PM, Jan Hubicka wrote: > Hi, > this patch should fix merging of PIC and PIE options so we always resort > to the least common denominator of the object files compiled (i.e. > linking together -fpic and -fPIE will result in -fpie binary). > Note that we also use information abou

Fix even more merging PIC and PIE options

2018-08-10 Thread Jan Hubicka
Hi, this patch should fix merging of PIC and PIE options so we always resort to the least common denominator of the object files compiled (i.e. linking together -fpic and -fPIE will result in -fpie binary). Note that we also use information about format of output passed by linker plugin so we will