summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tms320dm320/app.lds
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-06-13 20:59:03 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-06-13 20:59:03 +0000
commit4d41886caaefeccb08ed6eeccfffea15bad9c2a6 (patch)
tree7ee5071dac2dfdae5c576d6b87d87d559c5365be /firmware/target/arm/tms320dm320/app.lds
parent414f6c558b27ab6deb03d4dd49e040c75f298d46 (diff)
downloadrockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.tar.gz
rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.zip
M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/app.lds')
-rw-r--r--firmware/target/arm/tms320dm320/app.lds14
1 files changed, 4 insertions, 10 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds
index 14b44153a6..2c74278142 100644
--- a/firmware/target/arm/tms320dm320/app.lds
+++ b/firmware/target/arm/tms320dm320/app.lds
@@ -118,44 +118,38 @@ SECTIONS
stackend = .;
} > 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.
+ /* This overwrites the iram (in ram), so make sure that the iram is copied
+ * out in crt0.s before the bss section and the rest are used.
*/
- .bss (NOLOAD) :
+ .bss (NOLOAD) :
{
- . = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram);
+ . = ADDR(.data) + SIZEOF(.data);
_edata = .;
*(.bss*)
*(COMMON)
. = ALIGN(0x4);
_end = .;
} > DRAM
-
.audiobuf (NOLOAD) :
{
. = ALIGN(4);
- _audiobuffer = .;
audiobuffer = .;
} > DRAM
.audiobufend ENDAUDIOADDR (NOLOAD) :
{
audiobufend = .;
- _audiobufend = .;
} > DRAM
.codec ENDAUDIOADDR (NOLOAD) :
{
codecbuf = .;
- _codecbuf = .;
. += CODEC_SIZE;
} > DRAM
.plugin (NOLOAD) :
{
- _pluginbuf = .;
pluginbuf = .;
. += PLUGIN_BUFFER_SIZE;
} > DRAM