From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9127136013337260054==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] strip: Handle compressed relocation target sections. Date: Tue, 16 Aug 2016 10:37:18 +0200 Message-ID: <20160816083718.GD2702@stream> In-Reply-To: 1470490049-23675-1-git-send-email-mjw@redhat.com --===============9127136013337260054== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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. --===============9127136013337260054==--