]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elflint: Recognize and check SHF_COMPRESSED section flag.
authorMark Wielaard <mjw@redhat.com>
Fri, 18 Dec 2015 14:51:37 +0000 (15:51 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 6 Jan 2016 13:27:10 +0000 (14:27 +0100)
commite5f976bcb1b3a27bd89d8d32c0cebb0c14c0e6d2
treeeb7bd69ea448746a1a3c356e99087cdf5a9e89f1
parent519c13c9c7fc591609eed405a3e952707c60ec7e
elflint: Recognize and check SHF_COMPRESSED section flag.

SHF_COMPRESSED is a valid section flag, it can optionally be on any special
section, but it cannot be used on NOBITS sections or together with SHF_ALLOC.
A section that has SHF_COMPRESSED set must have a valid Chdr.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/elflint.c