1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2010-03-03 23:48:51 +00:00
parent 4cdcb63de1
commit 617ff557e8
6 changed files with 90 additions and 18 deletions

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM

View file

@ -37,8 +37,8 @@ STARTUP(target/arm/crt0-pp.o)
MEMORY MEMORY
{ {
DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
} }
SECTIONS SECTIONS
@ -126,6 +126,17 @@ SECTIONS
_iramcopy = LOADADDR(.iram); _iramcopy = LOADADDR(.iram);
.init ENDAUDIOADDR :
{
. = ALIGN(4);
_initstart = .;
*(.init)
_initend = .;
} AT> DRAM
_initcopy = LOADADDR(.init);
.idle_stacks (NOLOAD) : .idle_stacks (NOLOAD) :
{ {
*(.idle_stacks) *(.idle_stacks)
@ -146,7 +157,7 @@ SECTIONS
. += 0x2000; . += 0x2000;
stackend = .; stackend = .;
} > IRAM } > IRAM
/* .bss and .ncbss are treated as a single section to use one init loop to /* .bss and .ncbss are treated as a single section to use one init loop to
* zero it - note "_edata" and "_end" */ * zero it - note "_edata" and "_end" */
.bss _noloaddram (NOLOAD) : .bss _noloaddram (NOLOAD) :
@ -175,6 +186,7 @@ SECTIONS
.audiobuf (NOLOAD) : .audiobuf (NOLOAD) :
{ {
_audiobuffer = .; _audiobuffer = .;
. = ALIGN(0x4);
audiobuffer = .; audiobuffer = .;
} > DRAM } > DRAM