Skip to content

elf: allow unaligned compression headers#236

Merged
philipc merged 1 commit intogimli-rs:masterfrom
philipc:issue-235
Jun 15, 2020
Merged

elf: allow unaligned compression headers#236
philipc merged 1 commit intogimli-rs:masterfrom
philipc:issue-235

Conversation

@philipc
Copy link
Copy Markdown
Contributor

@philipc philipc commented Jun 15, 2020

Compressed sections are commonly emitted with the wrong alignment. This has been fixed in more recent versions of the major compilers, but for now let's support the invalid alignment even with the
unaligned feature disabled, since performance here doesn't matter much.

Fixes #235

Compressed sections are commonly emitted with the wrong alignment.
This has been fixed in more recent versions of the major compilers,
but for now let's support the invalid alignment even with the
unaligned feature disabled, since performance here doesn't matter
much.
@philipc philipc merged commit 49e3af2 into gimli-rs:master Jun 15, 2020
@philipc philipc deleted the issue-235 branch June 15, 2020 05:27
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
elf: allow unaligned compression headers
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.

Do debug sections really have alignment requirements?

1 participant