Oopsie, linkerscript markdown thing exists
This commit is contained in:
parent
d5b0db8e88
commit
248e1fb5fa
|
@ -216,7 +216,7 @@ In order to combine `boot.s` and the kernel we need to do something called "link
|
||||||
|
|
||||||
## For an operating system
|
## 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:
|
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
|
/* The bootloader will look at this image and start execution at the symbol
|
||||||
designated as the entry point. */
|
designated as the entry point. */
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|
Loading…
Reference in a new issue