2002-05-02 14:05:51 +00:00
|
|
|
ENTRY(start)
|
2002-03-28 15:09:10 +00:00
|
|
|
OUTPUT_FORMAT(elf32-sh)
|
2002-05-20 19:52:21 +00:00
|
|
|
INPUT(crt0.o system.o)
|
2002-03-28 15:09:10 +00:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.vectors 0x09000000 :
|
|
|
|
{
|
|
|
|
*(.vectors);
|
|
|
|
. = ALIGN(0x200);
|
2002-05-02 14:05:51 +00:00
|
|
|
*(.init.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
.text :
|
|
|
|
{
|
2002-03-28 15:09:10 +00:00
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
2002-05-02 14:05:51 +00:00
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
}
|
2002-05-24 15:37:26 +00:00
|
|
|
|
2002-03-28 15:09:10 +00:00
|
|
|
.bss :
|
|
|
|
{
|
2002-05-02 14:05:51 +00:00
|
|
|
_edata = .;
|
2002-05-24 15:37:26 +00:00
|
|
|
*(.bss)
|
|
|
|
*(COMMON)
|
|
|
|
_end = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stack :
|
|
|
|
{
|
|
|
|
*(.stack)
|
|
|
|
_stack = . + 0x8000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heap :
|
|
|
|
{
|
|
|
|
_poolstart = .;
|
2002-05-27 09:23:08 +00:00
|
|
|
. = . + 0x20000;
|
|
|
|
_poolend = .;
|
2002-05-24 15:37:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mp3buf :
|
|
|
|
{
|
|
|
|
_mp3buf = .;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mp3end 0x09200000 :
|
|
|
|
{
|
|
|
|
_mp3end = .;
|
2002-03-28 15:09:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pad 0x0900C800 :
|
|
|
|
{
|
|
|
|
LONG(0);
|
|
|
|
}
|
2002-05-24 15:37:26 +00:00
|
|
|
}
|