linux/arch/s390/boot/compressed
Vasily Gorbik a2ac1bb1f3 s390/decompressor: get rid of .bss usage
Using .bss in early code should be avoided. It might overlay initrd
image or not yet be initialized. Clean up the last couple of places in
the decompressor's code where .bss is used and enfore no .bss usage
check on boot/compressed/misc.c. In particular:
- initializing free_mem_ptr and free_mem_end_ptr with values guarantee
that these variables won't end up in the .bss section.
- define STATIC_RW_DATA to go into .data section.

Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-10-09 11:21:03 +02:00
..
.gitignore s390/decompressor: allow preprocessor in piggy.o linker script 2018-06-25 10:14:40 +02:00
decompressor.h s390/decompressor: rework uncompressed image info collection 2018-10-09 11:21:02 +02:00
Makefile s390/decompressor: get rid of .bss usage 2018-10-09 11:21:03 +02:00
misc.c s390/decompressor: get rid of .bss usage 2018-10-09 11:21:03 +02:00
vmlinux.lds.S s390/decompressor: rework uncompressed image info collection 2018-10-09 11:21:02 +02:00