s390/boot: get rid of startup archive
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 23 Apr 2022 19:31:22 +0000 (21:31 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 6 May 2022 18:45:14 +0000 (20:45 +0200)
commitedd4a8667355607345b76d5652adc0f300a28970
treebd22f0aef11be6be7e55ea1d40ce6bccd3840fcf
parent964bc5dbe602a62b7bbd67624c4b8f7a4ea692b2
s390/boot: get rid of startup archive

The final kernel image is created by linking decompressor object files with
a startup archive. The startup archive file however does not contain only
optional code and data which can be discarded if not referenced. It also
contains mandatory object data like head.o which must never be discarded,
even if not referenced.

Move the decompresser code and linker script to the boot directory and get
rid of the startup archive so everything is kept during link time.

Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/.gitignore
arch/s390/boot/Makefile
arch/s390/boot/clz_ctz.c [moved from arch/s390/boot/compressed/clz_ctz.c with 100% similarity]
arch/s390/boot/compressed/.gitignore [deleted file]
arch/s390/boot/compressed/Makefile [deleted file]
arch/s390/boot/decompressor.c [moved from arch/s390/boot/compressed/decompressor.c with 100% similarity]
arch/s390/boot/decompressor.h [moved from arch/s390/boot/compressed/decompressor.h with 100% similarity]
arch/s390/boot/kaslr.c
arch/s390/boot/mem_detect.c
arch/s390/boot/startup.c
arch/s390/boot/vmlinux.lds.S [moved from arch/s390/boot/compressed/vmlinux.lds.S with 100% similarity]