rockbox/firmware/app.lds
Linus Nielsen Feltzing d1d1d63810 Better stack and pool allocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@763 a1c6a512-1295-4272-9138-f99709370657
2002-05-28 14:02:19 +00:00

64 lines
736 B
Text

ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
INPUT(crt0.o system.o)
SECTIONS
{
.vectors 0x09000000 :
{
*(.vectors);
. = ALIGN(0x200);
*(.init.text)
}
.text :
{
*(.text)
}
.data :
{
*(.data)
}
.rodata :
{
*(.rodata)
}
.bss :
{
_edata = .;
*(.bss)
*(COMMON)
_end = .;
}
.stack :
{
*(.stack)
. = 0x8000;
_stack = .;
}
.heap :
{
_poolstart = .;
. = 0x20000;
_poolend = .;
}
.mp3buf :
{
_mp3buf = .;
}
.mp3end 0x09200000 :
{
_mp3end = .;
}
.pad 0x0900C800 :
{
LONG(0);
}
}