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

tool/cosmocc: Do not run fixupobj for text output #1084

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

trungnt2910
Copy link
Collaborator

Some compiler flags (such as -E or -MM) instruct GCC to only run the preprocessor and produce certain text files.

In this case, we do not want to run fixupobj and make the tool fail because the input is not an ELF64 binary.

Some compiler flags (such as -E or -MM) instruct GCC to only run the
preprocessor and produce certain text files.

In this case, we do not want to run `fixupobj` and make the tool fail
because the input is not an ELF64 binary.
@jart jart added the accepted We intend to address this issue. label Jan 15, 2024
Copy link
Owner

@jart jart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jart jart merged commit a2753de into jart:master Jan 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted We intend to address this issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants