summaryrefslogtreecommitdiff
path: root/link.ld
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-06-24 02:27:22 +1000
committerJake Mannens <jake72360@gmail.com>2018-06-24 02:27:22 +1000
commit97d3551106495fa18969e2690720b621ba5a9c0b (patch)
tree76967873f1f4209b940eadc77753bd67ef65e0b1 /link.ld
parentacba87c1e946118f0ba4308a7211199cf9b7cbb2 (diff)
Re-structured the source tree and modified makefiles accordingly.
Hopefully further separation will help to keep the code readable and understandable.
Diffstat (limited to 'link.ld')
-rw-r--r--link.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/link.ld b/link.ld
new file mode 100644
index 0000000..21c9b7c
--- /dev/null
+++ b/link.ld
@@ -0,0 +1,10 @@
+OUTPUT_FORMAT(elf32-i386)
+ENTRY(kboot)
+SECTIONS
+{
+ . = 0;
+ .mboothdr : { *(.mboothdr) }
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .bss : { *(.bss) }
+}