Re: [PATCH 1/4] strip: Replace nested check_preserved function with loop

2021-01-28 Thread Mark Wielaard
Hi Timm, OK, this simply expands the inlined check_preserved function and keeps track of the section indexes with the new shdr_indices array that is populated with the sh_link and possibly the sh_info indices. Added a ChangeLog entry and pushed. Thanks, Mark

[PATCH 1/4] strip: Replace nested check_preserved function with loop

2021-01-08 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Signed-off-by: Timm Bäder --- src/strip.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/src/strip.c b/src/strip.c index 7ce14ab8..c971b6c2 100644 --- a/src/strip.c +++ b/src/strip.c @@ -1535,25 +1535,30 @@ handle_elf