diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-03-03 23:48:51 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-03-03 23:48:51 +0000 |
commit | 617ff557e8f15c6ee644cee2654eac7d783e4faf (patch) | |
tree | 96c5b1b84443ad1f4d110c8d7d88dc197e35e452 | |
parent | 4cdcb63de122b7e41895ce83b558c25e72486bd3 (diff) | |
download | rockbox-617ff557e8f15c6ee644cee2654eac7d783e4faf.tar.gz rockbox-617ff557e8f15c6ee644cee2654eac7d783e4faf.zip |
Fix remaining reds. I forgot to change the app.lds of the other PP targets (it's the same file as for e200/c200 though).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25016 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/ipod/app.lds | 18 | ||||
-rw-r--r-- | firmware/target/arm/iriver/app.lds | 18 | ||||
-rw-r--r-- | firmware/target/arm/olympus/app.lds | 18 | ||||
-rw-r--r-- | firmware/target/arm/pbell/app.lds | 18 | ||||
-rw-r--r-- | firmware/target/arm/philips/app.lds | 18 | ||||
-rw-r--r-- | firmware/target/arm/samsung/app.lds | 18 |
6 files changed, 90 insertions, 18 deletions
diff --git a/firmware/target/arm/ipod/app.lds b/firmware/target/arm/ipod/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/ipod/app.lds +++ b/firmware/target/arm/ipod/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||
diff --git a/firmware/target/arm/iriver/app.lds b/firmware/target/arm/iriver/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/iriver/app.lds +++ b/firmware/target/arm/iriver/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||
diff --git a/firmware/target/arm/olympus/app.lds b/firmware/target/arm/olympus/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/olympus/app.lds +++ b/firmware/target/arm/olympus/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||
diff --git a/firmware/target/arm/pbell/app.lds b/firmware/target/arm/pbell/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/pbell/app.lds +++ b/firmware/target/arm/pbell/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||
diff --git a/firmware/target/arm/philips/app.lds b/firmware/target/arm/philips/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/philips/app.lds +++ b/firmware/target/arm/philips/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||
diff --git a/firmware/target/arm/samsung/app.lds b/firmware/target/arm/samsung/app.lds index 22468192eb..ec26fdbe38 100644 --- a/firmware/target/arm/samsung/app.lds +++ b/firmware/target/arm/samsung/app.lds | |||
@@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o) | |||
37 | 37 | ||
38 | MEMORY | 38 | MEMORY |
39 | { | 39 | { |
40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 40 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE | 41 | IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE |
42 | } | 42 | } |
43 | 43 | ||
44 | SECTIONS | 44 | SECTIONS |
@@ -126,6 +126,17 @@ SECTIONS | |||
126 | 126 | ||
127 | _iramcopy = LOADADDR(.iram); | 127 | _iramcopy = LOADADDR(.iram); |
128 | 128 | ||
129 | |||
130 | .init ENDAUDIOADDR : | ||
131 | { | ||
132 | . = ALIGN(4); | ||
133 | _initstart = .; | ||
134 | *(.init) | ||
135 | _initend = .; | ||
136 | } AT> DRAM | ||
137 | |||
138 | _initcopy = LOADADDR(.init); | ||
139 | |||
129 | .idle_stacks (NOLOAD) : | 140 | .idle_stacks (NOLOAD) : |
130 | { | 141 | { |
131 | *(.idle_stacks) | 142 | *(.idle_stacks) |
@@ -146,7 +157,7 @@ SECTIONS | |||
146 | . += 0x2000; | 157 | . += 0x2000; |
147 | stackend = .; | 158 | stackend = .; |
148 | } > IRAM | 159 | } > IRAM |
149 | 160 | ||
150 | /* .bss and .ncbss are treated as a single section to use one init loop to | 161 | /* .bss and .ncbss are treated as a single section to use one init loop to |
151 | * zero it - note "_edata" and "_end" */ | 162 | * zero it - note "_edata" and "_end" */ |
152 | .bss _noloaddram (NOLOAD) : | 163 | .bss _noloaddram (NOLOAD) : |
@@ -175,6 +186,7 @@ SECTIONS | |||
175 | .audiobuf (NOLOAD) : | 186 | .audiobuf (NOLOAD) : |
176 | { | 187 | { |
177 | _audiobuffer = .; | 188 | _audiobuffer = .; |
189 | . = ALIGN(0x4); | ||
178 | audiobuffer = .; | 190 | audiobuffer = .; |
179 | } > DRAM | 191 | } > DRAM |
180 | 192 | ||