This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] strip: Also handle gnu compressed debug sections with --reloc-debug-sections
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Tue, 13 Nov 2018 16:54:50 +0100
- Subject: Re: [PATCH] strip: Also handle gnu compressed debug sections with --reloc-debug-sections
- References: <1541781711-9939-1-git-send-email-mark@klomp.org>
On Fri, 2018-11-09 at 17:41 +0100, Mark Wielaard wrote:
> Check whether a section was gnu compressed and decompress it first
> before trying to resolve relocations. Recompress it afterwards.
>
> This found a bug in elf_compress_gnu which would use the "raw" file
> contents even if the user had just created the section (copying over
> the section from the original input file).
>
> Add compressed ET_REL tests to run-strip-reloc.sh testcase.
Pushed this to master.