aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/arm.ld
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-11-18 19:18:39 +0100
committerAyke van Laethem <[email protected]>2018-11-18 19:18:39 +0100
commit8402e84b6dff5f6a882ee0c4c962855d7bca5198 (patch)
treeb836746e14813720bc7645d1b24334b969191441 /targets/arm.ld
parentdbf581b56d18e729a1be46ad11d387e93a74b047 (diff)
downloadtinygo-8402e84b6dff5f6a882ee0c4c962855d7bca5198.tar.gz
tinygo-8402e84b6dff5f6a882ee0c4c962855d7bca5198.zip
runtime: implement a simple mark/sweep garbage collector
Diffstat (limited to 'targets/arm.ld')
-rw-r--r--targets/arm.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/targets/arm.ld b/targets/arm.ld
index 59bbf34be..2788fddd2 100644
--- a/targets/arm.ld
+++ b/targets/arm.ld
@@ -58,3 +58,5 @@ SECTIONS
/* For the memory allocator. */
_heap_start = _ebss;
_heap_end = ORIGIN(RAM) + LENGTH(RAM);
+_globals_start = _sdata;
+_globals_end = _ebss;