Re: [PATCH 2/2] elf-from-memory: Refactor to get rid of nested function

2021-01-28 Thread Mark Wielaard
Hi Timm, On Fri, Jan 08, 2021 at 09:09:56AM +0100, Timm Bäder via Elfutils-devel wrote: > Try to unify the 32/64 bit code paths and get rid of the nested > handle_segment() this way. The new code does seem to do the same thing as the old code. Added a ChangeLog entry and pushed. Thanks, Mark

[PATCH 2/2] elf-from-memory: Refactor to get rid of nested function

2021-01-08 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Try to unify the 32/64 bit code paths and get rid of the nested handle_segment() this way. Signed-off-by: Timm Bäder --- libdwfl/elf-from-memory.c | 115 +- 1 file changed, 50 insertions(+), 65 deletions(-) diff --git a/libdwfl/elf-from-mem