summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-04-01 03:54:48 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-04-01 03:54:48 +0000
commitf047e3aee92a929cbfd6ff0faf12d82c3b468844 (patch)
treef5a8d4bdb072f9649acc4104a9bc3e8dbfc3a80c
parent4fa96fbc914ae8fd69aedafd73f4f1798679d29f (diff)
downloadrockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.tar.gz
rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.tar.bz2
rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.zip
Correct a bit in the app.lds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20599 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/tms320dm320/app.lds25
1 files changed, 14 insertions, 11 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds
index bc00c3463b..47ff239a1a 100644
--- a/firmware/target/arm/tms320dm320/app.lds
+++ b/firmware/target/arm/tms320dm320/app.lds
@@ -69,16 +69,6 @@ SECTIONS
*(.data*)
. = ALIGN(0x4);
} > DRAM
-
- .bss (NOLOAD) :
- {
- _edata = .;
- *(.bss*)
- *(.ibss*)
- *(COMMON)
- . = ALIGN(0x4);
- _end = .;
- } > DRAM
/DISCARD/ :
{
@@ -122,7 +112,20 @@ SECTIONS
stackend = .;
} > IRAM
- . = ADDR(.bss) + SIZEOF(.bss) + SIZEOF(.vectors) + SIZEOF(.iram);
+ /* This could probably be shortened so that the audio buffer overwrites
+ * at the IRAM stuff (assuming that it is copied first in crt0.S), but
+ * leave it for now since the space is not critical at the moment.
+ */
+ .bss (NOLOAD) :
+ {
+ . = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram);
+ _edata = .;
+ *(.bss*)
+ *(COMMON)
+ . = ALIGN(0x4);
+ _end = .;
+ } > DRAM
+
.audiobuf (NOLOAD) :
{