aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/common_header.inc
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-08 22:45:37 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-09 15:33:11 -0400
commit6e434eac0a66e83b328da7271d25b27f48e6e84e (patch)
tree68d6367f0f763741d67db17def51f1ec2fa01c01 /support/ld/common_header.inc
parent0b7c5419a6825ac411cd8534358d0862e8ab01a5 (diff)
downloadlibrambutan-6e434eac0a66e83b328da7271d25b27f48e6e84e.tar.gz
librambutan-6e434eac0a66e83b328da7271d25b27f48e6e84e.zip
Linker scripts: Remove useless junk.
Diffstat (limited to 'support/ld/common_header.inc')
-rw-r--r--support/ld/common_header.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/support/ld/common_header.inc b/support/ld/common_header.inc
index ad1eca2..36ed2b1 100644
--- a/support/ld/common_header.inc
+++ b/support/ld/common_header.inc
@@ -26,7 +26,7 @@ EXTERN(main)
/* Initial stack pointer value. */
EXTERN(__cs3_stack)
-PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram);
+PROVIDE(__cs3_stack = __cs3_region_start_ram + LENGTH(ram));
/* Reset vector and chip reset entry point. See start.S */
EXTERN(_start)
@@ -34,6 +34,3 @@ PROVIDE(__cs3_reset = _start);
/* Beginning of the heap */
PROVIDE(__cs3_heap_start = _end);
-
-/* End of the heap */
-PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram);