Building a multiboot 1 compatible executable

This commit is contained in:
2017-10-24 16:04:09 +02:00
parent 0df19ec2b7
commit 39b43d825a
3 changed files with 56 additions and 0 deletions

11
src/kernel/Link.ld Normal file
View File

@@ -0,0 +1,11 @@
ENTRY(_start)
SECTIONS
{
.text : AT(ADDR(.text))
{
*(.multiboot)
*(.text)
. = ALIGN(4096);
}
}