[PATCH] libelf: Fix unaligned d_off offsets for input sections with large alignments

Mark Wielaard mark@klomp.org
Thu Jul 8 09:37:50 GMT 2021


Hi Andrei,

On Wed, 2021-07-07 at 13:24 -0700, Andrei Homescu wrote:
> I wrote this patch on behalf of someone else, so the copyright line
> should be:
> Copyright (C) 2021 Runsafe Security, Inc.

OK, changed.

> > The testcase already fails before the patch and succeeds after, but
> > it would be nice to double check the output with elflint just in
> > case. Shall we add:
> > 
> > testrun ${abs_top_builddir}/src/elflint --gnu $outfile
> 
> Sounds good, no objection from me.
> Should I submit an updated version of the patch, or can you add this
> on your end?

I made those two tweaks and pushed as:

https://sourceware.org/git/?p=elfutils.git;a=commit;h=b3601167d7a4c9f34eb65c3892c9ef25e3c1c66f

Thanks,

Mark


More information about the Elfutils-devel mailing list