mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Hardcode the location and size of the BSS section of stage3a to 0xc000 and 0x1000. This change is made in preparation for storing the Secure Execution image metadata at the address of the BSS section of stage3a. The idea behind this is that since there is no ELF loader involved, the stage3a loader will memset it's BSS section and therefore the Secure Execution image metadata to 0. This way, it's avoided having any leftover metadata after running the stage3a loader. In addition, add .bss.* as input sections for the .bss section. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>