[PATCH] powerpc/boot: request no dynamic linker for boot wrapper
Alan Modra
amodra at gmail.com
Mon Nov 28 13:26:04 AEDT 2016
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 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:
So this change added space for another header, it seems. I suspect
that was accidental, particularly since there was no mention of
get_program_header_size in the ChangeLog entry.
--
Alan Modra
Australia Development Lab, IBM
More information about the Linuxppc-dev
mailing list