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-03-28 15:09:10 +00:00
|
|
|
.bss :
|
|
|
|
{
|
2002-05-02 14:05:51 +00:00
|
|
|
_end = .;
|
2002-03-28 15:09:10 +00:00
|
|
|
_stack = . + 0x1000;
|
2002-05-02 14:05:51 +00:00
|
|
|
_edata = .;
|
2002-03-28 15:09:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pad 0x0900C800 :
|
|
|
|
{
|
|
|
|
LONG(0);
|
|
|
|
}
|
|
|
|
}
|