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

Add ELF loader #248

Merged
merged 16 commits into from
Sep 26, 2021
Merged

Add ELF loader #248

merged 16 commits into from
Sep 26, 2021

Conversation

vinc
Copy link
Owner

@vinc vinc commented Sep 24, 2021

This PR will bring us closer to be being able to run rust binaries, but some issues are still remaining. For now we'll be able to run ELF binaries produced in the following way:

nasm dsk/src/bin/hello.s -o /tmp/hello.o -f elf64
ld -o dsk/bin/hello /tmp/hello.o -Ttext=100 -Tdata=200

Instead of raw binaries produced like so:

nasm dsk/src/bin/hello.s -o /tmp/hello -f bin

@vinc
Copy link
Owner Author

vinc commented Sep 26, 2021

The previous commits should fix #249

@vinc vinc linked an issue Sep 26, 2021 that may be closed by this pull request
@vinc vinc marked this pull request as ready for review September 26, 2021 20:15
@vinc vinc merged commit c67ca13 into trunk Sep 26, 2021
@vinc vinc deleted the feature/elf-loader branch September 26, 2021 20:50
@vinc vinc mentioned this pull request Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Freeze when typing
1 participant