rockbox/apps/plugins/plugin.lds
Björn Stenberg 13d56150b6 Added plugin support for 8MB-modified units. This bumps the plugin API version number again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3831 a1c6a512-1295-4272-9138-f99709370657
2003-07-13 22:15:19 +00:00

31 lines
497 B
Text

OUTPUT_FORMAT(elf32-sh)
#define PLUGIN_LENGTH 0x8000
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH
#define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE))
MEMORY
{
PLUGIN_RAM : ORIGIN = PLUGIN_ORIGIN, LENGTH = PLUGIN_LENGTH
}
SECTIONS
{
.text : {
*(.entry)
*(.text)
} > PLUGIN_RAM
.data : {
*(.data)
} > PLUGIN_RAM
.bss : {
*(.bss)
} > PLUGIN_RAM
.rodata : {
*(.rodata)
*(.rodata.str1.4)
} > PLUGIN_RAM
}