diff options
author | Andrew Waterman <andrew@sifive.com> | 2018-12-19 14:56:21 -0800 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2019-01-04 13:40:23 -0800 |
commit | dca89b7e453732931f3c28c0ff91634c7c235b3f (patch) | |
tree | 2cb733a8b1ea440a454689ae23b19057e598f0a5 /bbl/bbl.lds | |
parent | 474d787f1b290acd16c2c27071d15afe98aaa196 (diff) | |
download | pk-dca89b7e453732931f3c28c0ff91634c7c235b3f.zip pk-dca89b7e453732931f3c28c0ff91634c7c235b3f.tar.gz pk-dca89b7e453732931f3c28c0ff91634c7c235b3f.tar.bz2 |
Page-align the writable data section
For eventual PMP purposes
Diffstat (limited to 'bbl/bbl.lds')
-rw-r--r-- | bbl/bbl.lds | 7 |
1 files changed, 4 insertions, 3 deletions
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 = .; } |