2002-05-17 19:05:00 +00:00
|
|
|
ENTRY(start)
|
|
|
|
OUTPUT_FORMAT(elf32-sh)
|
2002-05-29 09:12:34 +00:00
|
|
|
INPUT(crt0.o)
|
2002-05-17 19:05:00 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.vectors 0x09010000 :
|
|
|
|
{
|
2002-05-29 09:12:34 +00:00
|
|
|
*(.resetvectors);
|
2002-05-17 19:05:00 +00:00
|
|
|
*(.vectors);
|
|
|
|
. = ALIGN(0x200);
|
|
|
|
*(.init.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
}
|
2002-05-24 15:37:26 +00:00
|
|
|
|
2002-05-17 19:05:00 +00:00
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
_edata = .;
|
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
_end = .;
|
2002-05-24 15:37:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.stack :
|
|
|
|
{
|
|
|
|
*(.stack)
|
2002-05-28 14:02:19 +00:00
|
|
|
. = 0x8000;
|
2002-05-27 09:24:38 +00:00
|
|
|
_stack = .;
|
2002-05-17 19:05:00 +00:00
|
|
|
}
|
2002-05-24 15:37:26 +00:00
|
|
|
|
|
|
|
.heap :
|
|
|
|
{
|
|
|
|
_poolstart = .;
|
2002-05-28 14:02:19 +00:00
|
|
|
. = 0x20000;
|
2002-05-27 09:23:08 +00:00
|
|
|
_poolend = .;
|
2002-05-24 15:37:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mp3buf :
|
|
|
|
{
|
|
|
|
_mp3buf = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mp3end 0x09200000 :
|
|
|
|
{
|
|
|
|
_mp3end = .;
|
|
|
|
}
|
2002-05-17 19:05:00 +00:00
|
|
|
}
|