X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse.git/blobdiff_plain/4e0ea74420900c7a66d265117b09fddbc3aaa754..f053c948f5b6fe7b9ec5cf6533e177fd42113ba3:/inmates/lib/arm/inmate.lds diff --git a/inmates/lib/arm/inmate.lds b/inmates/lib/arm/inmate.lds index c5d82c2..fe13253 100644 --- a/inmates/lib/arm/inmate.lds +++ b/inmates/lib/arm/inmate.lds @@ -2,9 +2,11 @@ * Jailhouse, a Linux-based partitioning hypervisor * * Copyright (c) ARM Limited, 2014 + * Copyright (c) Siemens AG, 2016 * * Authors: * Jean-Philippe Brucker + * Jan Kiszka * * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. @@ -14,13 +16,10 @@ SECTIONS { . = 0; .boot : { *(.boot) } - . = ALIGN(4096); - . = . + 0x1000; - stack_top = .; - bss_start = .; - .bss : { - *(.bss) - *(COMMON) + . = 0x100; + .cmdline : { + *(.cmdline) + BYTE(0); /* empty string in case no buffer is provided */ } . = ALIGN(4); @@ -35,6 +34,17 @@ SECTIONS { .data : { *(.data) } + + .bss : { + bss_start = .; + *(.bss) + . = ALIGN(4); + } + bss_dwords = SIZEOF(.bss) / 4; + + . = ALIGN(4096); + . += 0x1000; + stack_top = .; } ENTRY(__reset_entry)