s390/boot: add build-id to decompressor
authorPhilipp Rudo <prudo@linux.ibm.com>
Wed, 25 Nov 2020 18:08:23 +0000 (19:08 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 9 Dec 2020 20:02:07 +0000 (21:02 +0100)
commit7a84ffc0471f0ff59f9ae10807a77bd666e24fd0
treef2ed14edee4c53b531ccb3fd22461798265b19d2
parent613775d62ec60202f98d2c5f520e6e9ba6dd4ac4
s390/boot: add build-id to decompressor

More and more functionality from the early boot phase gets carried over
to the decompressor. With this the complexity of the code and thus the
chance to introduce bugs increases. In order to be able to debug these
early boot bugs the distributions have to package the decompressors
vmlinux together with the other debuginfos. However for that the
distributions require the vmlinux to contain a build-id.

Per default the section containing the build-id is placed first in the
section table. So make sure to move it behind the .text section
otherwise the image would be unbootable.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/compressed/Makefile
arch/s390/boot/compressed/vmlinux.lds.S