Open azertyfun opened 8 years ago
In fact, I think we should design a binary format (like elf) with the code, a code relocation table and maybe debugging information.
A code relocation table would make it very hard to have portable code, especially since (at least for now) no assembler supports that kind of feature. Maybe we should consider it for the far future, but as of now I fear it would be way to much work to enable that functionality, both client-side and kernel-side.
We need a file loader, that would load ELF-like files. That would allow for the program to know the location of libraries.
I guess the program itself would be loaded from 0xA000 to 0xE000 to allow for a .org directive.