From 29bff576b64b3dec9d22853625441a0c03ef60d1 Mon Sep 17 00:00:00 2001 From: Sagar Karandikar Date: Mon, 15 Aug 2016 13:59:49 -0700 Subject: add ALIGN after .tohost to prevent placing MMIO and data on same page (#3) --- p/link.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/link.ld b/p/link.ld index 59a9253..4070776 100644 --- a/p/link.ld +++ b/p/link.ld @@ -5,7 +5,7 @@ SECTIONS . = 0x80000000; .text.init : { *(.text.init) } .tohost ALIGN(0x1000) : { *(.tohost) } - .text : { *(.text) } + .text ALIGN(0x1000) : { *(.text) } .data ALIGN(0x1000) : { *(.data) } .bss : { *(.bss) } _end = .; -- cgit v1.1