blob: de9da1a821554dc5d5cc5f5644165ddc49570b03 [file] [log] [blame]
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(64K);
etext = .;
.opd : { *(.opd) }
. = ALIGN(16);
.dynamic : {
dynamic_start = .;
*(.dynamic)
}
.dynsym : {
dynsym_start = .;
*(.dynsym)
}
.rela.dyn : { *(.rela*) }
. = ALIGN(16);
.data : {
*(.data)
*(.data.rel*)
}
. = ALIGN(16);
.rodata : { *(.rodata) *(.rodata.*) }
. = ALIGN(16);
__bss_start = .;
.bss : { *(.bss) }
__bss_end = .;
. = ALIGN(64K);
edata = .;
. += 64K;
. = ALIGN(64K);
/*
* stackptr set with initial stack frame preallocated
*/
stackptr = . - 160;
stacktop = .;
}