forked from len0rd/rockbox
Correct a bit in the app.lds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20599 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4fa96fbc91
commit
f047e3aee9
1 changed files with 14 additions and 11 deletions
|
|
@ -69,16 +69,6 @@ SECTIONS
|
||||||
*(.data*)
|
*(.data*)
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
} > DRAM
|
} > DRAM
|
||||||
|
|
||||||
.bss (NOLOAD) :
|
|
||||||
{
|
|
||||||
_edata = .;
|
|
||||||
*(.bss*)
|
|
||||||
*(.ibss*)
|
|
||||||
*(COMMON)
|
|
||||||
. = ALIGN(0x4);
|
|
||||||
_end = .;
|
|
||||||
} > DRAM
|
|
||||||
|
|
||||||
/DISCARD/ :
|
/DISCARD/ :
|
||||||
{
|
{
|
||||||
|
|
@ -122,7 +112,20 @@ SECTIONS
|
||||||
stackend = .;
|
stackend = .;
|
||||||
} > IRAM
|
} > 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) :
|
.audiobuf (NOLOAD) :
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue