]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libelf: Add ELF compression types and defines to libelf.h for older glibc.
authorMark Wielaard <mjw@redhat.com>
Wed, 13 Jan 2016 16:16:48 +0000 (17:16 +0100)
committerMark Wielaard <mjw@redhat.com>
Thu, 14 Jan 2016 13:26:22 +0000 (14:26 +0100)
commit344ca0775da729e1bfdd61bb88ba4c64befece07
tree4982fb56b1ad079386a8672e84d698abb4de8433
parent9b4bce40709611875754cf4931eb91d394042122
libelf: Add ELF compression types and defines to libelf.h for older glibc.

Older glibc elf.h might not define the new ELF compression defines and
types. If not just define them in libelf.h directly to make the libelf
headers work on older glibc systems.

Also include a testcase to check the libelf headers build against the
system elf.h.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810885

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libelf/ChangeLog
libelf/libelf.h
tests/ChangeLog
tests/Makefile.am
tests/system-elf-libelf-test.c [new file with mode: 0644]