aboutsummaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-02 22:27:27 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-02 22:27:27 +0200
commit36e8ee0cdaa904ee00710b1d2df16691729cc93d (patch)
tree16e3836af7ef9efa6da1bbde4248ae5ad956bf58 /linker.ld
parentlibk: add its own makefile (diff)
downloadkernel.cpp-36e8ee0cdaa904ee00710b1d2df16691729cc93d.tar.xz
Print some multiboot2 information
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/linker.ld b/linker.ld
index 732e5a0..7e07efc 100644
--- a/linker.ld
+++ b/linker.ld
@@ -15,9 +15,12 @@ SECTIONS
/* First put the multiboot header, as it is required to be put very early
early in the image or the bootloader won't recognize the file format.
Next we'll put the .text section. */
+ .boot :
+ {
+ *(.multiboot)
+ }
.text :
{
- *(.multiboot)
*(.text)
}