x86/kexec: add -fno-PIE
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 4 Nov 2016 18:39:40 +0000 (19:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Nov 2016 08:54:52 +0000 (09:54 +0100)
commite543f094a38ad006454e9bc54ebc6b94702f11a2
tree9cf52c6ab51a68470c82f9369b0bd63a8e52dbb2
parent3a868dde1824d4eca277df490d2be99355320095
x86/kexec: add -fno-PIE

commit 90944e40ba1838de4b2a9290cf273f9d76bd3bdd upstream.

If the gcc is configured to do -fPIE by default then the build aborts
later with:
| Unsupported relocation type: unknown type rel type name (29)

Tagging it stable so it is possible to compile recent stable kernels as
well.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/purgatory/Makefile