From: Tim Newsome Date: Thu, 13 Sep 2018 23:02:22 +0000 (-0700) Subject: Assert if HiFive1 program is too large. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f94342b7d6e06e35e521d184b7b3570dfe512409;p=riscv-tests.git Assert if HiFive1 program is too large. --- diff --git a/debug/targets/SiFive/HiFive1.lds b/debug/targets/SiFive/HiFive1.lds index 9354d3f..a37ca0c 100644 --- a/debug/targets/SiFive/HiFive1.lds +++ b/debug/targets/SiFive/HiFive1.lds @@ -34,3 +34,5 @@ SECTIONS /* End of uninitalized data segement */ _end = .; } + +ASSERT(_end < 0x80004000, "program is too large")