projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96f32d
)
Assert if HiFive1 program is too large.
author
Tim Newsome
<tim@sifive.com>
Thu, 13 Sep 2018 23:02:22 +0000
(16:02 -0700)
committer
Tim Newsome
<tim@sifive.com>
Thu, 13 Sep 2018 23:02:22 +0000
(16:02 -0700)
debug/targets/SiFive/HiFive1.lds
patch
|
blob
|
history
diff --git
a/debug/targets/SiFive/HiFive1.lds
b/debug/targets/SiFive/HiFive1.lds
index 9354d3fa49f5e3df67cb0c284f0ebb39b160cbfa..a37ca0c54b7cd094874ddfda75474c1e5c6d1a9d 100644
(file)
--- 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")