This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 03 Aug 2015 13:43:06 +0200
- Subject: Re: [PATCH] unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.
On Wed, 2015-07-29 at 18:05 +0200, Mark Wielaard wrote:
> With GCC 5 there might be a .rela.plt section with SHF_INFO_LINK set.
> Buggy binutils objdump might strip it from the section in the debug file.
> Ignore such differences for relocation sections and put the flag back
> if necessary.
> Also improve the error message a little by only discarding the already
> matched sections if there is an prelink undo section. Otherwise we will
> report all sections as not matching if the file wasn't prelinked instead
> of just the non-matching sections.
> New testfiles generated by gcc5 and binutils objdump added.
I pushed this to master.