From f047e3aee92a929cbfd6ff0faf12d82c3b468844 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Wed, 1 Apr 2009 03:54:48 +0000 Subject: Correct a bit in the app.lds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20599 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tms320dm320/app.lds | 25 ++++++++++++++----------- 1 file 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) : { -- cgit