blob: 5e91ecaca7f31f173441249edd842efe1d0baab6 [file] [log] [blame]
#include <asm/asm-offsets.h>
SECTIONS
{
.lowcore : {
/*
* Initial short psw for disk boot, with 31 bit addressing for
* non z/Arch environment compatibility and the instruction
* address 0x10000 (cstart64.S .init).
*/
. = 0;
lowcore = .;
LONG(0x00080000)
LONG(0x80010000)
/* Restart new PSW for booting via PSW restart. */
. = 0x1a0;
QUAD(0x0000000180000000)
QUAD(0x0000000000010000)
}
. = 0x10000;
.text : {
*(.init)
. = 0x480;
ipl_args = .;
. = 0x1000;
*(.text)
*(.text.*)
}
. = ALIGN(4K);
etext = .;
.data : {
*(.data)
*(.data.rel*)
}
. = ALIGN(16);
.rodata : { *(.rodata) *(.rodata.*) }
. = ALIGN(16);
__bss_start = .;
.bss : { *(.bss) }
. = ALIGN(2);
__bss_end = .;
. = ALIGN(4K);
edata = .;
/* Reserve 64K for the stack */
. += 64K;
. = ALIGN(4K);
/*
* stackptr set with initial stack frame preallocated
*/
stackptr = . - STACK_FRAME_SIZE;
stacktop = .;
}