powerpc/boot: request no dynamic linker for boot wrapper
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Dec 5 18:47:04 AEDT 2016
On Mon, 2016-11-28 at 01:42:26 UTC, Nicholas Piggin wrote:
> 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.
>
> A recent binutils commit:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=1a9ccd70f9a75dc6b48d340059f28ef3550c107b
> has broken kernel builds:
>
> ld: arch/powerpc/boot/zImage.pseries: Not enough room for program headers, try linking with -N
> ld: final link failed: Bad value
>
> Reported-by: Anton Blanchard <anton at samba.org>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/ff45000fcb56b5b0f1a14a865d3541
cheers
More information about the Linuxppc-dev
mailing list