Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-16 Thread Alan Modra
On Mon, Jan 16, 2017 at 01:49:36PM -0600, Segher Boessenkool wrote: > On Mon, Jan 16, 2017 at 03:50:01PM +1030, Alan Modra wrote: > > > > > Okay for trunk if there is nothing unexpected. Thanks! > > > > > > > > I guess I should at least build glibc. > > > > > > Yes exactly, something big that

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-16 Thread Segher Boessenkool
On Mon, Jan 16, 2017 at 03:50:01PM +1030, Alan Modra wrote: > > > > Okay for trunk if there is nothing unexpected. Thanks! > > > > > > I guess I should at least build glibc. > > > > Yes exactly, something big that uses pic -- it is pretty obvious it won't > > change anything for non-pic. > >

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-15 Thread Alan Modra
On Sat, Jan 14, 2017 at 09:19:52AM -0600, Segher Boessenkool wrote: > On Sun, Jan 15, 2017 at 12:08:39AM +1030, Alan Modra wrote: > > > Have you checked if/what this changes for some bigger code? > > > > Well, the bootstrap was all langs (minus ada due to not having ada > > installed) and ppc32

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-14 Thread Segher Boessenkool
On Sun, Jan 15, 2017 at 12:08:39AM +1030, Alan Modra wrote: > > Have you checked if/what this changes for some bigger code? > > Well, the bootstrap was all langs (minus ada due to not having ada > installed) and ppc32 multilibs were built. Plus the testsuite run > with

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-14 Thread Jakub Jelinek
On Sun, Jan 15, 2017 at 12:08:39AM +1030, Alan Modra wrote: > On Sat, Jan 14, 2017 at 03:28:51AM -0600, Segher Boessenkool wrote: > > On Fri, Jan 13, 2017 at 10:10:12PM +1030, Alan Modra wrote: > > > Bootstrapped and regression tested powerpc64-linux biarch. elf_high > > > has said "Elf specific

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-14 Thread Alan Modra
On Sat, Jan 14, 2017 at 03:28:51AM -0600, Segher Boessenkool wrote: > On Fri, Jan 13, 2017 at 10:10:12PM +1030, Alan Modra wrote: > > Bootstrapped and regression tested powerpc64-linux biarch. elf_high > > has said "Elf specific ways of loading addresses for non-PIC code" > >

Re: PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-14 Thread Segher Boessenkool
On Fri, Jan 13, 2017 at 10:10:12PM +1030, Alan Modra wrote: > Bootstrapped and regression tested powerpc64-linux biarch. elf_high > has said "Elf specific ways of loading addresses for non-PIC code" > ^^^ > right from the inital V4 support

PR79066, non-PIC code generated for powerpc glibc with -fpic

2017-01-13 Thread Alan Modra
Bootstrapped and regression tested powerpc64-linux biarch. elf_high has said "Elf specific ways of loading addresses for non-PIC code" ^^^ right from the inital V4 support in 1995. OK for mainline? PR target/79066 *