Oopsie, linkerscript markdown thing exists

This commit is contained in:
vanten-s 2024-03-26 20:49:17 +01:00
parent d5b0db8e88
commit 248e1fb5fa
Signed by: vanten-s
GPG key ID: DE3060396884D3F2

View file

@ -216,7 +216,7 @@ In order to combine `boot.s` and the kernel we need to do something called "link
## For an operating system
I have to combine `boot.s` and the kernel in a specific way to preserve the multiboot header. To do this I can create a *linker script* that tells the linker how to link the object files. To do this I created a file called `linker.ld` in the repository root, which contains this:
```linker
```linkerscript
/* The bootloader will look at this image and start execution at the symbol
designated as the entry point. */
ENTRY(_start)