summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index bc24901dad..c8354fae11 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -1,8 +1,12 @@
1OUTPUT_FORMAT(elf32-sh) 1OUTPUT_FORMAT(elf32-sh)
2 2
3#define PLUGIN_LENGTH 0x8000
4#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH
5#define PLUGIN_ORIGIN (0x09000000 + (DRAMSIZE))
6
3MEMORY 7MEMORY
4{ 8{
5 PLUGIN_RAM : ORIGIN = 0x091f8000, LENGTH = 0x8000 9 PLUGIN_RAM : ORIGIN = PLUGIN_ORIGIN, LENGTH = PLUGIN_LENGTH
6} 10}
7 11
8SECTIONS 12SECTIONS