/*
* Jailhouse, a Linux-based partitioning hypervisor
*
- * Copyright (c) Siemens AG, 2013
+ * Copyright (c) Siemens AG, 2013-2016
*
* Authors:
* Jan Kiszka <jan.kiszka@siemens.com>
* 0x000000.. : heap (not configured here)
* ..0x0e0000: stack
* 0x0e0000..0x0effff: bss
- * 0x0f0000..0x0fffef: startup code, text, rodata, data
+ * 0x0f0000..0x0fffef: command line, startup code, text, rodata, data
* 0x0ffff0..0x0fffff: startup code (boot address)
* 0x100000..0x100fff: communication region (not configured here)
*/
SECTIONS
{
- /* 16-bit sections */
. = 0;
+ .cmdline : {
+ cmdline = 0xf0000; /* adjust relocation address of variable */
+ *(.cmdline)
+ BYTE(0); /* empty string in case no buffer is provided */
+ }
+
+ /* 16-bit sections */
.startup : { *(.startup) }
. = 0xfff0;
bss_dwords = SIZEOF(.bss) / 4;
bss_qwords = SIZEOF(.bss) / 8;
- . = 0xf0000 + SIZEOF(.startup);
+ . = 0xf0000 + ADDR(.startup) + SIZEOF(.startup);
.text : AT (ADDR(.text) & 0xffff) {
*(.text)
}
*(.data)
}
+ . = ALIGN(16);
+ .bench-array : AT (ADDR(.data) + SIZEOF(.data)) {
+ *(.bench-array)
+ }
+ image_end = .;
+
/DISCARD/ : {
*(.eh_frame*)
}