2003-11-30 11:37:43 +00:00
|
|
|
OUTPUT_FORMAT(elf32-sh)
|
|
|
|
INPUT(minimon.o)
|
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
2008-10-30 00:34:43 +00:00
|
|
|
IRAM : ORIGIN = 0x0FFFF000, LENGTH = 0x500
|
2003-11-30 11:37:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.startvector :
|
|
|
|
{
|
|
|
|
*(.startvector)
|
|
|
|
. = ALIGN(0x4);
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.got :
|
|
|
|
{
|
|
|
|
*(.got)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.got.plt :
|
|
|
|
{
|
|
|
|
*(.got.plt)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.rela.got :
|
|
|
|
{
|
|
|
|
*(.rela.got)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.text :
|
|
|
|
{
|
|
|
|
. = ALIGN(0x200);
|
|
|
|
*(.entry)
|
|
|
|
*(.text)
|
|
|
|
. = ALIGN(0x4);
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.rodata :
|
|
|
|
{
|
|
|
|
*(.rodata)
|
|
|
|
. = ALIGN(0x4);
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
*(.bss)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
|
|
|
|
.stack :
|
|
|
|
{
|
|
|
|
*(.stack)
|
2008-10-30 00:34:43 +00:00
|
|
|
} > IRAM
|
2003-11-30 11:37:43 +00:00
|
|
|
}
|