X86-64: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
added "Linking a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap (for use with Multiboot)" section |
|||
Line 66: | Line 66: | ||
== Linking a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap (for use with Multiboot) == |
== Linking a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap (for use with Multiboot) == |
||
You can link a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap using the following shell script. Alternatively you can also write a small assembly stub for your 64-bit ELF64 kernel that includes 32-bit code. |
|||
<source lang="bash"> |
<source lang="bash"> |