From: Heiko Carstens Date: Mon, 11 Feb 2013 13:26:24 +0000 (+0100) Subject: s390/linker skript: discard exit.data at runtime X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4e69245bd7793a620ed67442c00fa1f2dd56891;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390/linker skript: discard exit.data at runtime Discard exit.data section at run time, not link time, since exit.text references exit.data and causes this build error: `.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 79cb51adc741..35b13ed0af5f 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S @@ -75,6 +75,10 @@ SECTIONS EXIT_TEXT } + .exit.data : { + EXIT_DATA + } + /* early.c uses stsi, which requires page aligned data. */ . = ALIGN(PAGE_SIZE); INIT_DATA_SECTION(0x100)