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

Fix smartelf2hex.sh creating files 64x the minimum size #677

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

jerryz123
Copy link
Contributor

Type of change: bug fix

Impact: software change

Copy link
Contributor

@colinschmidt colinschmidt left a comment

Choose a reason for hiding this comment

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

LGTM

@colinschmidt
Copy link
Contributor

Can you test this with a riscv-test isa test and benchmark in addition to whatever use case uncovered the bug.

@jerryz123
Copy link
Contributor Author

Good call. The imprecise hex sizing was masking another issue, that the script did not consider the TLS segments, which elf2hex would still read.

@jerryz123 jerryz123 merged commit 023d809 into dev Sep 23, 2020
@alonamid alonamid mentioned this pull request Nov 24, 2020
@jerryz123 jerryz123 deleted the smartelf2hex-fix branch December 24, 2020 05:20
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