diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:54:48 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-04-01 03:54:48 +0000 |
| commit | f047e3aee92a929cbfd6ff0faf12d82c3b468844 (patch) | |
| tree | f5a8d4bdb072f9649acc4104a9bc3e8dbfc3a80c | |
| parent | 4fa96fbc914ae8fd69aedafd73f4f1798679d29f (diff) | |
| download | rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.zip rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.tar.gz rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.tar.bz2 rockbox-f047e3aee92a929cbfd6ff0faf12d82c3b468844.tar.xz | |
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.lds | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds index bc00c34..47ff239 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) : { |