805bc0bc23
This patch adds support for building a relocatable kernel with -fPIE. The kernel will be relocated to 0 early in the boot process. Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
3 lines
79 B
C
3 lines
79 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include "../kernel/machine_kexec_reloc.c"
|