summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/ldscript
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 22:48:22 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 22:48:22 +0100
commit2737d81d205a1cf086197fc2f75445e491d18c1f (patch)
tree700cd2a34ea7542bffe0cc9e11991d77225e5f2c /arch/arm/lpc17xx/ldscript
parent855847de577f0949a6e557aac23a12fd66b8afd3 (diff)
Forgot to provide a couple of needed exports for the non-mpu ldscript - technically, these two could be the same script actually.
Diffstat (limited to 'arch/arm/lpc17xx/ldscript')
-rw-r--r--arch/arm/lpc17xx/ldscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/ldscript b/arch/arm/lpc17xx/ldscript
index 422fe72..fc283d4 100644
--- a/arch/arm/lpc17xx/ldscript
+++ b/arch/arm/lpc17xx/ldscript
@@ -43,6 +43,8 @@ PROVIDE(__cs3_stack_size = __cs3_region_start_ram + __cs3_region_size_ram - _end
PROVIDE(__cs3_heap_start = _end);
PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram);
+PROVIDE(__rom_data_len = __rom_data_end - __rom_data_begin);
+
PROVIDE(__heap_start = __cs3_heap_start);
PROVIDE(__heap_end = __cs3_heap_end);
@@ -145,6 +147,7 @@ SECTIONS
.data :
{
__cs3_region_start_ram = .;
+ __ram_data_begin = .;
*(.cs3.region-head.ram)
KEEP(*(.jcr))
*(.got.plt) *(.got)