This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]