Commit 5ddb50af authored by Mark Wielaard's avatar Mark Wielaard
Browse files

libelf: Add elf32_getchdr, elf64_getchdr and gelf_getchdr.



Elf_Data of a compressed section has type ELF_T_CHDR. This type can be
xlated to the file or memory representation. This will make sure the Chdr
is in the correct endianess. The compressed data following the Chdr isn't
translated.

Signed-off-by: default avatarMark Wielaard <mjw@redhat.com>
parent 0c32b6f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment