summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/user-link.ld27
1 files changed, 27 insertions, 0 deletions
diff --git a/conf/user-link.ld b/conf/user-link.ld
new file mode 100644
index 0000000..9bbe6ae
--- /dev/null
+++ b/conf/user-link.ld
@@ -0,0 +1,27 @@
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0x10000;
+
+ .text :
+ {
+ *(.text)
+ *(.text.*)
+ }
+
+ .data : ALIGN(8)
+ {
+ *(.data)
+ *(.data.*)
+ }
+
+ .bss : ALIGN(8)
+ {
+ __bss_start = .;
+ *(.bss)
+ *(.bss.*)
+ __bss_end = .;
+ }
+}
+