summaryrefslogtreecommitdiff
path: root/firmware/target/arm/olympus/app.lds
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-02-20 02:33:40 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-02-20 02:33:40 +0000
commitec67912b638e0fae3cae7b4182d23db6d36c5135 (patch)
tree8101f45d02947a828d20174a45d1a6d19fafa3b2 /firmware/target/arm/olympus/app.lds
parent07ae1e4fb9a1fd9d6ce9c48c5300b53e87303937 (diff)
downloadrockbox-ec67912b638e0fae3cae7b4182d23db6d36c5135.tar.gz
rockbox-ec67912b638e0fae3cae7b4182d23db6d36c5135.zip
Reclaim .iram areas in DRAM by overlapping their load addresses with the uninitialized data sections. I did what I could test out-- not any flash image linker scripts or other target processors. Move any .iram copies in crt0.S's to be the first operation even if not _strictly_ necessary to be emphatic (aka. 'beware').
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20061 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/olympus/app.lds')
-rw-r--r--firmware/target/arm/olympus/app.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/olympus/app.lds b/firmware/target/arm/olympus/app.lds
index d7159e8e1e..22468192eb 100644
--- a/firmware/target/arm/olympus/app.lds
+++ b/firmware/target/arm/olympus/app.lds
@@ -103,6 +103,7 @@ SECTIONS
103 } AT> DRAM 103 } AT> DRAM
104 104
105 _vectorscopy = LOADADDR(.vectors); 105 _vectorscopy = LOADADDR(.vectors);
106 _noloaddram = LOADADDR(.vectors);
106 107
107 .ibss IRAMORIG (NOLOAD) : 108 .ibss IRAMORIG (NOLOAD) :
108 { 109 {
@@ -148,8 +149,7 @@ SECTIONS
148 149
149 /* .bss and .ncbss are treated as a single section to use one init loop to 150 /* .bss and .ncbss are treated as a single section to use one init loop to
150 * zero it - note "_edata" and "_end" */ 151 * zero it - note "_edata" and "_end" */
151 .bss ADDR(.data) + SIZEOF(.data) + SIZEOF(.ncdata) +\ 152 .bss _noloaddram (NOLOAD) :
152 SIZEOF(.iram) + SIZEOF(.vectors) (NOLOAD) :
153 { 153 {
154 _edata = .; 154 _edata = .;
155 *(.bss*) 155 *(.bss*)