summaryrefslogtreecommitdiff
path: root/kernel/src/linker.ld
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2019-10-24 18:02:53 +0200
committerDennis Kobert <dennis@kobert.dev>2019-10-24 18:02:53 +0200
commit7e5ea00099f7afc2df997db306b5ef697bc67ab4 (patch)
tree0a7ceea283b7d0c5d71176606fd97b410dbb7314 /kernel/src/linker.ld
parent2106724907a306897fe846a0efabed09c8850bce (diff)
Restructure src files
Diffstat (limited to 'kernel/src/linker.ld')
-rw-r--r--kernel/src/linker.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/src/linker.ld b/kernel/src/linker.ld
new file mode 100644
index 0000000..cef8809
--- /dev/null
+++ b/kernel/src/linker.ld
@@ -0,0 +1,16 @@
+ENTRY(start)
+
+SECTIONS {
+ . = 1M;
+
+ .boot :
+ {
+ /* ensure that the multiboot heater is at the beginning */
+ *(.multiboot_header)
+ }
+
+ .text :
+ {
+ *(.text)
+ }
+}