[PATCH] binutils: Run PR binutils/26160 test

Alan Modra amodra@gmail.com
Tue Nov 1 00:25:46 GMT 2022


On Mon, Oct 31, 2022 at 05:08:04PM -0700, H.J. Lu wrote:
> On Mon, Oct 31, 2022 at 4:04 PM Alan Modra <amodra@gmail.com> wrote:
> >
> > On Mon, Oct 31, 2022 at 09:24:07AM -0700, H.J. Lu wrote:
> > > Here is the patch to run the test.  But it failed with
> > >
> > > readelf: Warning: Cannot fetch indexed address: the .debug_addr
> > > section is missing
> > >
> > > Is this warning valid?
> >
> > Well, yes, because according to https://gcc.gnu.org/wiki/DebugFission
> > .debug_addr is found in the "linked binary".  I think the testcase is
> > incomplete without that object file.
> 
> readelf output has been changed.   Here is the patch
> to run PR binutils/26160 test.

Can we please have the .o file too rather than accepting a warning?
That would better test readelf's handling of .dwp files.

Also, I think it would be nicer if the .dwp file was not compressed,
so that the test would run without bzip2 being installed.  It isn't
very large.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list