summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kmemcheck
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-11-28 12:42:26 +1100
committerJoel Stanley <joel@jms.id.au>2017-07-18 14:53:30 +0930
commitf7112ed0c0b128c7e9682dcd5741e7c62335b0ef (patch)
tree2fc9e92b2786139688adf137e51efca1ce19bb0f /lib/Kconfig.kmemcheck
parent6565c5854aa4f2bd8b640ea2af36452f20cb1f61 (diff)
downloadtalos-op-linux-f7112ed0c0b128c7e9682dcd5741e7c62335b0ef.tar.gz
talos-op-linux-f7112ed0c0b128c7e9682dcd5741e7c62335b0ef.zip
powerpc/boot: Request no dynamic linker for boot wrapper
The boot wrapper performs its own relocations and does not require PT_INTERP segment. However currently we don't tell the linker that. Prior to binutils 2.28 that works OK. But since binutils commit 1a9ccd70f9a7 ("Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries.") binutils tries to create a program header segment due to PT_INTERP, and the link fails because there is no space for it: ld: arch/powerpc/boot/zImage.pseries: Not enough room for program headers, try linking with -N ld: final link failed: Bad value So tell the linker not to do that, by passing --no-dynamic-linker. Cc: stable@vger.kernel.org Reported-by: Anton Blanchard <anton@samba.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Drop dependency on ld-version.sh and massage change log] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> (cherry picked from commit ff45000fcb56b5b0f1a14a865d3541746d838a0a) Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'lib/Kconfig.kmemcheck')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud