Oopsie, linkerscript markdown thing exists
This commit is contained in:
parent
565c3cf189
commit
07346f758c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue