aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-02-11 14:26:24 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-02-14 15:55:21 +0100
commita4e69245bd7793a620ed67442c00fa1f2dd56891 (patch)
tree6bb7c50c0b468af2e8b60661d6dd373145893757 /arch/s390/kernel/vmlinux.lds.S
parentdrivers/media: add missing GENERIC_HARDIRQS dependency (diff)
downloadlinux-dev-a4e69245bd7793a620ed67442c00fa1f2dd56891.tar.xz
linux-dev-a4e69245bd7793a620ed67442c00fa1f2dd56891.zip
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 <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vmlinux.lds.S')
-rw-r--r--arch/s390/kernel/vmlinux.lds.S4
1 files changed, 4 insertions, 0 deletions
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)