Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create file loader #54

Open
azertyfun opened this issue Apr 15, 2016 · 2 comments
Open

Create file loader #54

azertyfun opened this issue Apr 15, 2016 · 2 comments

Comments

@azertyfun
Copy link
Member

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.

@Yamakaky
Copy link
Contributor

In fact, I think we should design a binary format (like elf) with the code, a code relocation table and maybe debugging information.

@azertyfun
Copy link
Member Author

azertyfun commented Apr 15, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants