Anonymous user
X86-64: Difference between revisions
Jump to navigation
Jump to search
→Linking a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap (for use with Multiboot)
[unchecked revision] | [unchecked revision] |
(added "Linking a 64-bit ELF64 kernel against a 32-bit ELF32 bootstrap (for use with Multiboot)" section) |
|||
Line 66:
== 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">
|