Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-30 Thread Gustavo Luiz Duarte
On 11/29/2016 01:42 AM, Michael Ellerman wrote: Nicholas Piggin writes: > On Mon, 28 Nov 2016 22:07:39 +1100 > Michael Ellerman wrote: >> Nicholas Piggin writes: >>> diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper >>> index 404b3aa..cd941a8 100755 >>> --- a/arch/powerpc/boo

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Michael Ellerman
Nicholas Piggin writes: > On Mon, 28 Nov 2016 22:07:39 +1100 > Michael Ellerman wrote: >> Nicholas Piggin writes: >> > diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper >> > index 404b3aa..cd941a8 100755 >> > --- a/arch/powerpc/boot/wrapper >> > +++ b/arch/powerpc/boot/wrapper >

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Nicholas Piggin
On Mon, 28 Nov 2016 14:25:31 + Nick Clifton wrote: > Hi Nicholas, > > >> ... this actually seems like a better fix to me. If you do not want the > >> PT_INTERP segment, then telling this linker this is a good idea. So > >> wouldn't > >> a patch like this be a better solution to the probl

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Nick Clifton
Hi Nicholas, >> ... this actually seems like a better fix to me. If you do not want the >> PT_INTERP segment, then telling this linker this is a good idea. So wouldn't >> a patch like this be a better solution to the problem ? > > Yes, I wasn't asking for the binutils change to be reverted. O

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Nick Clifton
Hi Nicholas, >>> The boot wrapper performs its own relocations and does not require >>> PT_INTERP segment. >>> >>> Without this option, binutils 2.28 and newer tries to create a program >>> header segment due to PT_INTERP, and the link fails because there is no >>> space for it. >> >> 2.28 is no

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Nicholas Piggin
On Mon, 28 Nov 2016 12:39:38 + Nick Clifton wrote: > Hi Nicholas, > > >>> The boot wrapper performs its own relocations and does not require > >>> PT_INTERP segment. > >>> > >>> Without this option, binutils 2.28 and newer tries to create a program > >>> header segment due to PT_INTERP, and

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Nicholas Piggin
On Mon, 28 Nov 2016 22:07:39 +1100 Michael Ellerman wrote: > Nicholas Piggin writes: > > > The boot wrapper performs its own relocations and does not require > > PT_INTERP segment. > > > > Without this option, binutils 2.28 and newer tries to create a program > > header segment due to PT_INTERP

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-28 Thread Michael Ellerman
Nicholas Piggin writes: > The boot wrapper performs its own relocations and does not require > PT_INTERP segment. > > Without this option, binutils 2.28 and newer tries to create a program > header segment due to PT_INTERP, and the link fails because there is no > space for it. 2.28 is not relea

Re: [PATCH] powerpc/boot: request no dynamic linker for boot wrapper

2016-11-27 Thread Alan Modra
On Mon, Nov 28, 2016 at 12:42:26PM +1100, Nicholas Piggin wrote: > The boot wrapper performs its own relocations and does not require > PT_INTERP segment. OK, so the kernel change is quite reasonable in isolation, but see below. > Without this option, binutils 2.28 and newer tries to create a pro