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

coff: Implement basic object parsing #4

Merged
merged 7 commits into from
Oct 21, 2021
Merged

Conversation

iddev5
Copy link
Contributor

@iddev5 iddev5 commented Oct 17, 2021

This adds basic Coff object parsing support to Zld. Coff is parsed for section headers and symbol table. Actually symbol table parsing is the only one which is complete right now. Section header parsing is ok, but need additional work to handle long names. Rellocations, line numbers, data etc are not read at all.

Contains some modified replicated code from std.coff which has to be made to upstream zig later.

The main purpose of this PR is to accelerate the development of zar.

@kubkon kubkon merged commit 4ce00f5 into kubkon:main Oct 21, 2021
@iddev5 iddev5 deleted the coff-object branch October 21, 2021 17:44
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.

2 participants