summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-03 23:48:51 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-03 23:48:51 +0000
commit617ff557e8f15c6ee644cee2654eac7d783e4faf (patch)
tree96c5b1b84443ad1f4d110c8d7d88dc197e35e452 /firmware/target/arm/ipod
parent4cdcb63de122b7e41895ce83b558c25e72486bd3 (diff)
downloadrockbox-617ff557e8f15c6ee644cee2654eac7d783e4faf.tar.gz
rockbox-617ff557e8f15c6ee644cee2654eac7d783e4faf.zip
Fix remaining reds. I forgot to change the app.lds of the other PP targets (it's the same file as for e200/c200 though).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25016 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/app.lds18
1 files changed, 15 insertions, 3 deletions
diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds
index 22468192eb..ec26fdbe38 100644
--- a/firmware/target/arm/ipod/app.lds
+++ b/firmware/target/arm/ipod/app.lds
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY
{
- DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
- IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
+ DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
+ IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
}
SECTIONS
@@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram);
+
+ .init ENDAUDIOADDR :
+ {
+ . = ALIGN(4);
+ _initstart = .;
+ *(.init)
+ _initend = .;
+ } AT> DRAM
+
+ _initcopy = LOADADDR(.init);
+
.idle_stacks (NOLOAD) :
{
*(.idle_stacks)
@@ -146,7 +157,7 @@ SECTIONS
. += 0x2000;
stackend = .;
} > IRAM
-
+
/* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) :
@@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) :
{
_audiobuffer = .;
+ . = ALIGN(0x4);
audiobuffer = .;
} > DRAM