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

Implement support for ELF compression headers #83

Merged
merged 1 commit into from
Apr 12, 2018

Conversation

rocallahan
Copy link
Contributor

We need to read these headers to process SHF_COMPRESSED sections, which system debuginfo packages for various Linux distributions sometimes use.

Copy link
Collaborator

@philipc philipc left a comment

Choose a reason for hiding this comment

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

Thanks!

@philipc philipc merged commit 6cc2579 into m4b:master Apr 12, 2018

elf_compression_header_std_impl!(u32);

impl From<ElfCompressionHeader> for CompressionHeader {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just noticed this should have been restricted to the alloc feature. I'll fix that when I update travis to test various feature combinations. Alternatively, I'd argue that the unified CompressionHeader should be available even for no_std builds, but the section_header module is the same way...

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.

None yet

2 participants