s390/purgatory: Reduce purgatory size
authorPhilipp Rudo <prudo@linux.ibm.com>
Tue, 5 Mar 2019 16:18:13 +0000 (17:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Apr 2019 08:43:53 +0000 (10:43 +0200)
commit61f3f8fc223524692aaa87cf46d95ca3015e83a9
tree167546bfdced6b6d8e7bf9150cbff85e22392102
parent729829d775c9a5217abc784b2f16087d79c4eec8
s390/purgatory: Reduce purgatory size

The purgatory is compiled into the vmlinux and keept in memory all the time
during runtime. Thus any section not needed to load the purgatory
unnecessarily bloats up its foot print in file- and memorysize. Reduce the
purgatory size by stripping the unneeded sections from the purgatory.

This reduces the purgatories size by ~33%.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/purgatory/Makefile
arch/s390/purgatory/purgatory.lds.S [new file with mode: 0644]