s390: introduce compile time check for empty .bss section
authorVasily Gorbik <gor@linux.ibm.com>
Thu, 3 May 2018 14:40:13 +0000 (16:40 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 May 2018 08:55:01 +0000 (10:55 +0200)
commit0391fcb5e1f8f10d4cf491ec2ea107a2e6a937f7
tree91915a3b8b42f466fe565991387e589376e37e33
parent971a9ca6259752c04da09535707d08ccc5d1ed4b
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>
arch/s390/kernel/Makefile
arch/s390/lib/Makefile
arch/s390/scripts/Makefile.chkbss [new file with mode: 0644]
drivers/s390/char/Makefile