diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds new file mode 100644 index 0000000000..be6b6fd0a6 --- /dev/null +++ b/apps/plugins/plugin.lds | |||
@@ -0,0 +1,26 @@ | |||
1 | OUTPUT_FORMAT(elf32-sh) | ||
2 | |||
3 | MEMORY | ||
4 | { | ||
5 | PLUGIN_RAM : ORIGIN = 0x091f8000, LENGTH = 0x8000 | ||
6 | } | ||
7 | |||
8 | SECTIONS | ||
9 | { | ||
10 | .text : { | ||
11 | *(.entry) | ||
12 | *(.text) | ||
13 | } > PLUGIN_RAM | ||
14 | |||
15 | .data : { | ||
16 | *(.data) | ||
17 | } > PLUGIN_RAM | ||
18 | |||
19 | .bss : { | ||
20 | *(.bss) | ||
21 | } > PLUGIN_RAM | ||
22 | |||
23 | .rodata : { | ||
24 | *(.rodata) | ||
25 | } > PLUGIN_RAM | ||
26 | } | ||