diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-05-03 16:40:13 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-05-09 10:55:01 +0200 |
commit | 0391fcb5e1f8f10d4cf491ec2ea107a2e6a937f7 (patch) | |
tree | 91915a3b8b42f466fe565991387e589376e37e33 /arch/s390/kernel/Makefile | |
parent | s390/early: move functions which may not access bss section to extra file (diff) | |
download | linux-0391fcb5e1f8f10d4cf491ec2ea107a2e6a937f7.tar.xz linux-0391fcb5e1f8f10d4cf491ec2ea107a2e6a937f7.zip |
s390: introduce compile time check for empty .bss section
Introduce compile time check for files which should avoid using .bss
section, because of the following reasons:
- .bss section has not been zeroed yet,
- initrd has not been moved to a safe location and could be overlapping
with .bss section.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/Makefile')
-rw-r--r-- | arch/s390/kernel/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile index b5146697ab50..2fed39b26b42 100644 --- a/arch/s390/kernel/Makefile +++ b/arch/s390/kernel/Makefile @@ -98,3 +98,6 @@ obj-$(CONFIG_TRACEPOINTS) += trace.o # vdso obj-y += vdso64/ obj-$(CONFIG_COMPAT) += vdso32/ + +chkbss := head.o head64.o als.o early_nobss.o +include $(srctree)/arch/s390/scripts/Makefile.chkbss |