2003-06-29 16:33:04 +00:00
|
|
|
OUTPUT_FORMAT(elf32-sh)
|
|
|
|
|
2003-07-13 22:15:19 +00:00
|
|
|
#define PLUGIN_LENGTH 0x8000
|
|
|
|
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH
|
|
|
|
#define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE))
|
|
|
|
|
2003-06-29 16:33:04 +00:00
|
|
|
MEMORY
|
|
|
|
{
|
2003-07-13 22:15:19 +00:00
|
|
|
PLUGIN_RAM : ORIGIN = PLUGIN_ORIGIN, LENGTH = PLUGIN_LENGTH
|
2003-06-29 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text : {
|
|
|
|
*(.entry)
|
|
|
|
*(.text)
|
|
|
|
} > PLUGIN_RAM
|
|
|
|
|
|
|
|
.data : {
|
|
|
|
*(.data)
|
|
|
|
} > PLUGIN_RAM
|
|
|
|
|
|
|
|
.bss : {
|
|
|
|
*(.bss)
|
|
|
|
} > PLUGIN_RAM
|
|
|
|
|
|
|
|
.rodata : {
|
|
|
|
*(.rodata)
|
2003-07-06 09:26:45 +00:00
|
|
|
*(.rodata.str1.4)
|
2003-08-04 19:13:42 +00:00
|
|
|
. = ALIGN(0x4);
|
2003-06-29 16:33:04 +00:00
|
|
|
} > PLUGIN_RAM
|
|
|
|
}
|