summaryrefslogtreecommitdiffstats
path: root/script.ld
diff options
context:
space:
mode:
Diffstat (limited to 'script.ld')
-rw-r--r--script.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/script.ld b/script.ld
index 7a67dcf..f2e9b5d 100644
--- a/script.ld
+++ b/script.ld
@@ -4,8 +4,6 @@ MEMORY
ram (rwx) : ORIGIN = 0x20000000, LENGTH = 96K
}
-_sp = ORIGIN(ram) + LENGTH(ram);
-
SECTIONS
{
.text :
@@ -32,3 +30,5 @@ SECTIONS
_ebss = . ;
} > ram
}
+
+_sp = ORIGIN(ram) + LENGTH(ram);