summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-04-20 18:43:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-04-20 18:43:47 +0000
commit7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87 (patch)
tree599cff1325bca86d777b65eb183245bd5717cac4 /firmware/target/arm/ipod
parent850a11250a8c5b6825b080ff843f30fd68cb71f6 (diff)
downloadrockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.tar.gz
rockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.tar.bz2
rockbox-7a2d9ddb08edb65b39bb3276dd60aec4ce7e8d87.zip
move some data around to place qh_array at the start of iram. This saves up to about 2k iram on PP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17194 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/app.lds19
1 files changed, 10 insertions, 9 deletions
diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds
index bf5eae0515..ccd23eb31b 100644
--- a/firmware/target/arm/ipod/app.lds
+++ b/firmware/target/arm/ipod/app.lds
@@ -104,7 +104,16 @@ SECTIONS
_vectorscopy = LOADADDR(.vectors);
- .iram IRAMORIG :
+ .ibss IRAMORIG (NOLOAD) :
+ {
+ _iedata = .;
+ *(.qharray)
+ *(.ibss)
+ . = ALIGN(0x4);
+ _iend = .;
+ } > IRAM
+
+ .iram _iend :
{
_iramstart = .;
*(.icode)
@@ -116,14 +125,6 @@ SECTIONS
_iramcopy = LOADADDR(.iram);
- .ibss (NOLOAD) :
- {
- _iedata = .;
- *(.ibss)
- . = ALIGN(0x4);
- _iend = .;
- } > IRAM
-
.idle_stacks (NOLOAD) :
{
*(.idle_stacks)