2002-04-22 19:12:37 +00:00
|
|
|
ENTRY(start)
|
|
|
|
OUTPUT_FORMAT(elf32-sh)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2002-04-23 22:11:50 +00:00
|
|
|
.text 0x09010000 :
|
2002-04-22 19:12:37 +00:00
|
|
|
{
|
2011-12-18 06:43:08 +00:00
|
|
|
KEEP(*(.vectors))
|
2002-04-23 22:11:50 +00:00
|
|
|
. = ALIGN(0x200);
|
2002-04-24 22:00:37 +00:00
|
|
|
*(.init.text)
|
2002-04-23 22:11:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text :
|
|
|
|
{
|
2002-04-22 19:12:37 +00:00
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
2002-04-24 22:00:37 +00:00
|
|
|
*(.rodata)
|
2002-04-22 19:12:37 +00:00
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
|
2002-04-24 22:00:37 +00:00
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
}
|
|
|
|
|
2002-04-22 19:12:37 +00:00
|
|
|
.bss :
|
|
|
|
{
|
2002-05-09 21:08:17 +00:00
|
|
|
_edata = .;
|
2002-04-22 19:12:37 +00:00
|
|
|
*(.bss)
|
2002-05-09 21:08:17 +00:00
|
|
|
*(COMMON)
|
2002-04-23 22:11:50 +00:00
|
|
|
_end = .;
|
2002-05-09 21:08:17 +00:00
|
|
|
_stack = . + 0x80000;
|
2002-04-22 19:12:37 +00:00
|
|
|
}
|
|
|
|
}
|