This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] strip: Handle compressed relocation target sections.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 16 Aug 2016 10:37:18 +0200
- Subject: Re: [PATCH] strip: Handle compressed relocation target sections.
On Sat, Aug 06, 2016 at 03:27:29PM +0200, Mark Wielaard wrote:
> binutils 2.27 assembler will create compressed sections for x86 ELF
> targets. The linker will decompress them again and it doesn't do this
> for any other target. This broke one of the run-strip-reloc.sh self tests.
>
> Fix by checking if the target of a relocation section is compressed and
> first decompressing it before applying relocations and then compressing
> again if necessary.
>
> Add explicit testcases for compressed and uncompressed ET_REL files
> to run-strip-reloc.sh.
I pushed this to master.