summaryrefslogtreecommitdiff
path: root/userspace/linker.ld
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/linker.ld')
-rw-r--r--userspace/linker.ld28
1 files changed, 28 insertions, 0 deletions
diff --git a/userspace/linker.ld b/userspace/linker.ld
new file mode 100644
index 0000000..99ae573
--- /dev/null
+++ b/userspace/linker.ld
@@ -0,0 +1,28 @@
+/* OUTPUT_FORMAT(binary) */
+
+SECTIONS
+{
+ . = 0x800000;
+
+ /*
+
+ .text : ALIGN(0x1000) {
+ _TEXT_START_ = .;
+ *(.text)
+ _TEXT_END_ = .;
+ }
+
+ .data : ALIGN(0x1000) {
+ _DATA_START_ = .;
+ *(.data)
+ _DATA_END_ = .;
+ }
+
+ .bss : ALIGN(0x1000) {
+ _BSS_START_ = .;
+ *(.bss)
+ _BSS_END_ = .;
+ }
+ */
+
+}