summaryrefslogtreecommitdiff
path: root/src/kernel/link.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r--src/kernel/link.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/link.ld b/src/kernel/link.ld
new file mode 100644
index 0000000..64dd0be
--- /dev/null
+++ b/src/kernel/link.ld
@@ -0,0 +1,11 @@
+OUTPUT_FORMAT(binary)
+SECTIONS {
+ . = 0x01000000;
+ .text : {
+ main = .;
+ *(.text)
+ }
+ .rodata : { *(.rodata) }
+ .data : { *(.data) }
+ .bss : { *(.bss) }
+} \ No newline at end of file