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.lds26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
new file mode 100644
index 0000000..be6b6fd
--- /dev/null
+++ b/apps/plugins/plugin.lds
@@ -0,0 +1,26 @@
+OUTPUT_FORMAT(elf32-sh)
+
+MEMORY
+{
+ PLUGIN_RAM : ORIGIN = 0x091f8000, LENGTH = 0x8000
+}
+
+SECTIONS
+{
+ .text : {
+ *(.entry)
+ *(.text)
+ } > PLUGIN_RAM
+
+ .data : {
+ *(.data)
+ } > PLUGIN_RAM
+
+ .bss : {
+ *(.bss)
+ } > PLUGIN_RAM
+
+ .rodata : {
+ *(.rodata)
+ } > PLUGIN_RAM
+}