Oopsie, linkerscript markdown thing exists

This commit is contained in:
vanten-s 2024-03-26 20:49:17 +01:00
parent 565c3cf189
commit 07346f758c
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)