From dca89b7e453732931f3c28c0ff91634c7c235b3f Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 19 Dec 2018 14:56:21 -0800 Subject: Page-align the writable data section For eventual PMP purposes --- bbl/bbl.lds | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bbl') diff --git a/bbl/bbl.lds b/bbl/bbl.lds index 892621a..397cd3f 100644 --- a/bbl/bbl.lds +++ b/bbl/bbl.lds @@ -38,12 +38,12 @@ SECTIONS } /* End of code and read-only segment */ + . = ALIGN(0x1000); _etext = .; /*--------------------------------------------------------------------*/ /* HTIF, isolated onto separate page */ /*--------------------------------------------------------------------*/ - . = ALIGN(0x1000); .htif : { PROVIDE( __htif_base = . ); @@ -96,10 +96,11 @@ SECTIONS *(COMMON) } + . = ALIGN(0x1000); + _end = .; + .payload : { *(.payload) } - - _end = .; } -- cgit v1.1