diff options
-rw-r--r-- | kernel/.gitignore | 1 | ||||
-rw-r--r-- | kernel/linker.ld | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/kernel/.gitignore b/kernel/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/kernel/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/kernel/linker.ld b/kernel/linker.ld new file mode 100644 index 0000000..cef8809 --- /dev/null +++ b/kernel/linker.ld @@ -0,0 +1,16 @@ +ENTRY(start) + +SECTIONS { + . = 1M; + + .boot : + { + /* ensure that the multiboot heater is at the beginning */ + *(.multiboot_header) + } + + .text : + { + *(.text) + } +} |