]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - inmates/lib/x86/inmate.lds
tiny-demo inmate partially works under qemu
[jailhouse.git] / inmates / lib / x86 / inmate.lds
index 4e4a506c08148b5dd6f2e77e7b9b3ae0537aedf9..db580d01f5fe0633eb9c2dc9e081961c779004a9 100644 (file)
@@ -32,7 +32,7 @@ SECTIONS
        }
 
        /* 32/64-bit sections */
-       . = 0xe0000;
+       . = 0x1e0000;
        stack_top = .;
        bss_start = .;
        .bss            : {
@@ -42,7 +42,9 @@ SECTIONS
        bss_dwords = SIZEOF(.bss) / 4;
        bss_qwords = SIZEOF(.bss) / 8;
 
-       . = 0xf0000 + SIZEOF(.startup);
+       . = 0x1f0000 + SIZEOF(.startup);
+       load_start = .;
+       . += SIZEOF(.startup);
        .text           : AT (ADDR(.text) & 0xffff) {
                *(.text)
        }
@@ -56,6 +58,7 @@ SECTIONS
        .data           : AT (ADDR(.data) & 0xffff) {
                *(.data)
        }
+       load_end = .;
 
        /DISCARD/ : {
                *(.eh_frame*)