]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit749164a03973e4d67f164c9c3f9b1837a30ccc2e
treebd22f0aef11be6be7e55ea1d40ce6bccd3840fcf
parent14d59dcafabd3fe624f21083e0eaa7eba7d2e407
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>
15 files changed:
arch/s390/boot/.gitignore
arch/s390/boot/Makefile
arch/s390/boot/clz_ctz.c [new file with mode: 0644]
arch/s390/boot/compressed/.gitignore [deleted file]
arch/s390/boot/compressed/Makefile [deleted file]
arch/s390/boot/compressed/clz_ctz.c [deleted file]
arch/s390/boot/compressed/decompressor.c [deleted file]
arch/s390/boot/compressed/decompressor.h [deleted file]
arch/s390/boot/compressed/vmlinux.lds.S [deleted file]
arch/s390/boot/decompressor.c [new file with mode: 0644]
arch/s390/boot/decompressor.h [new file with mode: 0644]
arch/s390/boot/kaslr.c
arch/s390/boot/mem_detect.c
arch/s390/boot/startup.c
arch/s390/boot/vmlinux.lds.S [new file with mode: 0644]