From 18630efa6c1b4c587905afec6e1ee5effc307347 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 24 May 2015 09:49:17 +0200 Subject: [PATCH] align kernel to 2MB, include section .text.startup --- hermit/link.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hermit/link.ld b/hermit/link.ld index 0c4efc179..57d36d78e 100644 --- a/hermit/link.ld +++ b/hermit/link.ld @@ -1,7 +1,7 @@ OUTPUT_FORMAT("elf64-x86-64") OUTPUT_ARCH("i386:x86-64") ENTRY(start) -phys = 0x1400000; +phys = (2 << 20); SECTIONS { @@ -13,6 +13,7 @@ SECTIONS } .text ALIGN(4096) : AT(ADDR(.text)) { *(.text) + *(.text.startup) } .rodata ALIGN(4096) : AT(ADDR(.rodata)) { *(.rodata)