strip: Use ELF_CHF_FORCE to recompress any sections that were uncompressed.
authorMark Wielaard <mjw@redhat.com>
Thu, 25 Aug 2016 18:43:42 +0000 (20:43 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 25 Aug 2016 18:52:01 +0000 (20:52 +0200)
commit324cc566974470090ed4a86f38afafe231501320
tree09b8ad2dc7ae8c3314ef60487cc067396a9619cb
parentbe7e73f5aa879e7fb1b2a398e67f4bef644cd4ef
strip: Use ELF_CHF_FORCE to recompress any sections that were uncompressed.

Older gcc might create small .debug_pubtype. If such a section is compressed
then strip should use ELF_CHF_FORCE to return it to compressed state after it
is done with the section. Found by the run-strip-reloc.sh testcase on rhel6.

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