Avi Kivity
authored
We need the headers so we can provide the symbols to loaded libraries. This means we cannot use objcopy to munge the binary format to elf32-i386, as the loader doesn't understand this format. Instead, add a separate 32-bit only stage (in elf32-i386 format) that loads the 64-bit image into memory as its payload. This keeps multiboot happy and leave our headers alone.
Name | Last commit | Last update |
---|---|---|
arch/x64 | ||
drivers | ||
fs | ||
libc/string | ||
scripts | ||
.gitignore | ||
Makefile | ||
bootfs.S | ||
bootfs.manifest | ||
elf.cc | ||
elf.hh | ||
entry.s | ||
exceptions.cc | ||
exceptions.hh | ||
gen-ctype-data.cc | ||
loader.cc | ||
mmu.cc | ||
mmu.hh | ||
runtime.cc |