summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-06 08:59:53 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-06 08:59:53 -0600
commite21898b25ae82d55bd2e80b86e3ad61c1ed56643 (patch)
treea83c9f53b7a0a64c450e667575c61ad798ace5b8 /nuttx/configs
parentd48c14a36cc386389cc8159ab7b88d5e668806df (diff)
downloadpx4-nuttx-e21898b25ae82d55bd2e80b86e3ad61c1ed56643.tar.gz
px4-nuttx-e21898b25ae82d55bd2e80b86e3ad61c1ed56643.tar.bz2
px4-nuttx-e21898b25ae82d55bd2e80b86e3ad61c1ed56643.zip
Oops.. this change should not have been in the last commit
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/pirelli_dpl10/nsh_highram/ld.script19
1 files changed, 9 insertions, 10 deletions
diff --git a/nuttx/configs/pirelli_dpl10/nsh_highram/ld.script b/nuttx/configs/pirelli_dpl10/nsh_highram/ld.script
index 5bdefbe06..35fa84728 100644
--- a/nuttx/configs/pirelli_dpl10/nsh_highram/ld.script
+++ b/nuttx/configs/pirelli_dpl10/nsh_highram/ld.script
@@ -13,8 +13,8 @@ MEMORY
{
/* 0x800000-0x83ffff */
/* compal-loaded binary: our text, initialized data */
- LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 128K
- TRAM (rw) : ORIGIN = 0x00820000, LENGTH = 64K
+ LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00020000
+ TRAM (rw) : ORIGIN = 0x00820000, LENGTH = 0x00010000
/* compal-loaded binary: our unitialized data, stacks, heap */
IRAM (rw) : ORIGIN = 0x00830000, LENGTH = 0x00010000
}
@@ -34,7 +34,7 @@ SECTIONS
PROVIDE(__start = .);
KEEP(*(.text.start))
*(.text.start)
- } > LRAM
+ } > TRAM
/* exception vectors from 0x80001c to 0x800034 */
.text.exceptions 0x80001c : AT (LOADADDR(.text.start) + SIZEOF(.text.start)) {
@@ -46,7 +46,8 @@ SECTIONS
/* code */
. = ALIGN(4);
- .text : {
+ .text (LOADADDR(.text.exceptions) + SIZEOF(.text.exceptions)) :
+ AT (LOADADDR(.text.exceptions) + SIZEOF(.text.exceptions)) {
/* regular code */
*(.text*)
/* always-in-ram code */
@@ -54,7 +55,7 @@ SECTIONS
/* gcc voodoo */
*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
. = ALIGN(4);
- } > LRAM
+ } > TRAM
PROVIDE(_text_start = LOADADDR(.text));
PROVIDE(_text_end = LOADADDR(.text) + SIZEOF(.text));
@@ -66,7 +67,7 @@ SECTIONS
KEEP(*(SORT(.ctors)))
/* end of list */
LONG(0)
- } > LRAM
+ } > TRAM
PROVIDE(_ctor_start = LOADADDR(.ctors));
PROVIDE(_ctor_end = LOADADDR(.ctors) + SIZEOF(.ctors));
@@ -78,7 +79,7 @@ SECTIONS
KEEP(*(SORT(.dtors)))
/* end of list */
LONG(0)
- } > LRAM
+ } > TRAM
PROVIDE(_dtor_start = LOADADDR(.dtors));
PROVIDE(_dtor_end = LOADADDR(.dtors) + SIZEOF(.dtors));
@@ -86,16 +87,14 @@ SECTIONS
. = ALIGN(4);
.rodata : {
*(.rodata*)
- } > LRAM
+ } > TRAM
PROVIDE(_rodata_start = LOADADDR(.rodata));
PROVIDE(_rodata_end = LOADADDR(.rodata) + SIZEOF(.rodata));
/* initialized data */
. = ALIGN(4);
.data : {
- _sdata = ABSOLUTE(.);
*(.data)
- _edata = ABSOLUTE(.);
} > TRAM
PROVIDE(_data_start = LOADADDR(.data));
PROVIDE(_data_end = LOADADDR(.data) + SIZEOF(.data));