[PATCH] unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.

Mark Wielaard mjw at redhat.com
Mon Aug 3 11:43:06 UTC 2015


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.


More information about the elfutils-devel mailing list