summaryrefslogtreecommitdiff
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.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
69 *(.data*) 69 *(.data*)
70 . = ALIGN(0x4); 70 . = ALIGN(0x4);
71 } > DRAM 71 } > DRAM
72
73 .bss (NOLOAD) :
74 {
75 _edata = .;
76 *(.bss*)
77 *(.ibss*)
78 *(COMMON)
79 . = ALIGN(0x4);
80 _end = .;
81 } > DRAM
82 72
83 /DISCARD/ : 73 /DISCARD/ :
84 { 74 {
@@ -122,7 +112,20 @@ SECTIONS
122 stackend = .; 112 stackend = .;
123 } > IRAM 113 } > IRAM
124 114
125 . = ADDR(.bss) + SIZEOF(.bss) + SIZEOF(.vectors) + SIZEOF(.iram); 115 /* This could probably be shortened so that the audio buffer overwrites
116 * at the IRAM stuff (assuming that it is copied first in crt0.S), but
117 * leave it for now since the space is not critical at the moment.
118 */
119 .bss (NOLOAD) :
120 {
121 . = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram);
122 _edata = .;
123 *(.bss*)
124 *(COMMON)
125 . = ALIGN(0x4);
126 _end = .;
127 } > DRAM
128
126 129
127 .audiobuf (NOLOAD) : 130 .audiobuf (NOLOAD) :
128 { 131 {