]> 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)
commit75261fbc43a037fe3d1089c894205e95b8c23eff
treebd22f0aef11be6be7e55ea1d40ce6bccd3840fcf
parentf125757f2587f728edf77fa5f683001b2325e24e
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]