mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Use linker script for all bootloaders instead of having the load addresses of the bootloaders hard-coded in the Makefile. This allows us to simplify the Makefile and it fixes the dependency tracking for the bootloaders *0.bin, *1.bin, and *1b.bin. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
19 lines
235 B
ArmAsm
19 lines
235 B
ArmAsm
#include "boot/loaders_layout.h"
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = STAGE0_LOAD_ADDRESS;
|
|
.text : {
|
|
*(.text .text.*)
|
|
}
|
|
|
|
/* Sections to be discarded */
|
|
/DISCARD/ : {
|
|
*(.eh_frame)
|
|
*(.interp)
|
|
*(.note.GNU-stack)
|
|
}
|
|
}
|