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

Emitting ELF files is quite slow #9

Open
4 tasks
IsaacWoods opened this issue Dec 21, 2016 · 0 comments
Open
4 tasks

Emitting ELF files is quite slow #9

IsaacWoods opened this issue Dec 21, 2016 · 0 comments
Assignees
Labels

Comments

@IsaacWoods
Copy link
Owner

Rewrite the process for writing ELFs:

  • Work out the final size for the ELF beforehand
  • mmap the output ELF and allocate the correct size for writing
  • memcpy the correct structures into place
  • Unmap and write the file
@IsaacWoods IsaacWoods self-assigned this Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant