[PATCH 1/2] elf-from-memory: Restructure code to get rid of nested handle_segment()

Mark Wielaard mark@klomp.org
Thu Jan 28 21:08:44 GMT 2021


Hi Timm,

On Fri, Jan 08, 2021 at 09:09:55AM +0100, Timm Bäder via Elfutils-devel wrote:
> Use one loop for both 32 and 64  bit case. This allows for only one call
> site of the old handle_segment(), which we can then inline into the for
> loop.

It is a bit hard to see because of the reindenting, but the new code
does indeed do the same as the old code. Added a ChangeLog entry and
pushed.

Thanks,

Mark


More information about the Elfutils-devel mailing list