diff options
Diffstat (limited to 'kernel/src/linker.ld')
-rw-r--r-- | kernel/src/linker.ld | 16 |
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) + } +} |