From 2737d81d205a1cf086197fc2f75445e491d18c1f Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 26 Jan 2011 22:48:22 +0100 Subject: Forgot to provide a couple of needed exports for the non-mpu ldscript - technically, these two could be the same script actually. --- arch/arm/lpc17xx/ldscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm') 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) -- cgit v1.2.3