summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSagar Karandikar <sagark@eecs.berkeley.edu>2016-08-15 13:59:49 -0700
committerAndrew Waterman <waterman@eecs.berkeley.edu>2016-08-15 13:59:49 -0700
commit29bff576b64b3dec9d22853625441a0c03ef60d1 (patch)
tree28f3a90ba37001cd3b8d759e69c6e4d129d6b29c
parentae484b6ab8aec310ecb0ca9a46704a709d0ef99d (diff)
downloadenv-29bff576b64b3dec9d22853625441a0c03ef60d1.zip
env-29bff576b64b3dec9d22853625441a0c03ef60d1.tar.gz
env-29bff576b64b3dec9d22853625441a0c03ef60d1.tar.bz2
add ALIGN after .tohost to prevent placing MMIO and data on same page (#3)
-rw-r--r--p/link.ld2
1 files changed, 1 insertions, 1 deletions
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 = .;