1
0
Fork 0
forked from len0rd/rockbox

MP3 buffer and heap setup

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@698 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-24 15:37:26 +00:00
parent 3c2607790d
commit 0e0f3cc26d
2 changed files with 49 additions and 3 deletions

View file

@ -24,15 +24,39 @@ SECTIONS
{
*(.rodata)
}
.bss :
{
_end = .;
_stack = . + 0x1000;
_edata = .;
*(.bss)
*(COMMON)
_end = .;
}
.stack :
{
*(.stack)
_stack = . + 0x8000;
}
.heap :
{
_poolstart = .;
_poolend = . + 0x20000;
}
.mp3buf :
{
_mp3buf = .;
}
.mp3end 0x09200000 :
{
_mp3end = .;
}
.pad 0x0900C800 :
{
LONG(0);
}
}
}

View file

@ -24,12 +24,34 @@ SECTIONS
{
*(.rodata)
}
.bss :
{
_edata = .;
*(.bss)
*(COMMON)
_end = .;
}
.stack :
{
*(.stack)
_stack = . + 0x8000;
}
.heap :
{
_poolstart = .;
_poolend = . + 0x20000;
}
.mp3buf :
{
_mp3buf = .;
}
.mp3end 0x09200000 :
{
_mp3end = .;
}
}