summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2013-01-08 22:21:27 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2013-01-11 16:11:45 +0100
commitf245f3e3b05a9143679670cf6bb17eef8ef6d580 (patch)
tree92cf15f840c1195871a612439bd4960d21e6ff59
parent1926372d79b3a6579f313194379247ad43419066 (diff)
Sync the linker scripts with osmocombb.
TODO: do the same for all other scripts. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r--nuttx/configs/compal_e99/nsh_highram/ld.script20
1 files changed, 9 insertions, 11 deletions
diff --git a/nuttx/configs/compal_e99/nsh_highram/ld.script b/nuttx/configs/compal_e99/nsh_highram/ld.script
index db72f251aa..15ec0ab6a3 100644
--- a/nuttx/configs/compal_e99/nsh_highram/ld.script
+++ b/nuttx/configs/compal_e99/nsh_highram/ld.script
@@ -14,9 +14,7 @@ MEMORY
/* 0x800000-0xa00000 */
/* compal-loaded binary: our text, initialized data */
LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00020000
- TRAM (rw) : ORIGIN = 0x00820000, LENGTH = 0x0001d000
- /* compal-loaded binary: our unitialized data, stacks, heap */
- IRAM (rw) : ORIGIN = 0x0083d000, LENGTH = 0x00002000
+ RAM (rw) : ORIGIN = 0x00820000, LENGTH = 0x0001f000
}
SECTIONS
{
@@ -34,7 +32,7 @@ SECTIONS
PROVIDE(__start = .);
KEEP(*(.text.start))
*(.text.start)
- } > TRAM
+ } > RAM
/* exception vectors from 0x80001c to 0x800034 */
.text.exceptions 0x80001c : AT (LOADADDR(.text.start) + SIZEOF(.text.start)) {
@@ -55,7 +53,7 @@ SECTIONS
/* gcc voodoo */
*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
. = ALIGN(4);
- } > TRAM
+ } > RAM
PROVIDE(_text_start = LOADADDR(.text));
PROVIDE(_text_end = LOADADDR(.text) + SIZEOF(.text));
@@ -67,7 +65,7 @@ SECTIONS
KEEP(*(SORT(.ctors)))
/* end of list */
LONG(0)
- } > TRAM
+ } > RAM
PROVIDE(_ctor_start = LOADADDR(.ctors));
PROVIDE(_ctor_end = LOADADDR(.ctors) + SIZEOF(.ctors));
@@ -79,7 +77,7 @@ SECTIONS
KEEP(*(SORT(.dtors)))
/* end of list */
LONG(0)
- } > TRAM
+ } > RAM
PROVIDE(_dtor_start = LOADADDR(.dtors));
PROVIDE(_dtor_end = LOADADDR(.dtors) + SIZEOF(.dtors));
@@ -87,7 +85,7 @@ SECTIONS
. = ALIGN(4);
.rodata : {
*(.rodata*)
- } > TRAM
+ } > RAM
PROVIDE(_rodata_start = LOADADDR(.rodata));
PROVIDE(_rodata_end = LOADADDR(.rodata) + SIZEOF(.rodata));
@@ -95,7 +93,7 @@ SECTIONS
. = ALIGN(4);
.data : {
*(.data)
- } > TRAM
+ } > RAM
PROVIDE(_data_start = LOADADDR(.data));
PROVIDE(_data_end = LOADADDR(.data) + SIZEOF(.data));
@@ -104,7 +102,7 @@ SECTIONS
.got : {
*(.got)
*(.got.plt) *(.igot.plt) *(.got) *(.igot)
- } > TRAM
+ } > RAM
PROVIDE(_got_start = LOADADDR(.got));
PROVIDE(_got_end = LOADADDR(.got) + SIZEOF(.got));
@@ -115,7 +113,7 @@ SECTIONS
_sbss = ABSOLUTE(.);
*(.bss)
_ebss = ABSOLUTE(.);
- } > IRAM
+ } > RAM
. = ALIGN(4);
__bss_end = .;
PROVIDE(_bss_start = __bss_start);