Re: [PATCH 1/5] readelf: Pull add_dump_section() into file scope

2021-01-30 Thread Mark Wielaard
Hi Timm, On Fri, Jan 08, 2021 at 09:16:29AM +0100, Timm Bäder via Elfutils-devel wrote: > Get rid of a nested function this way. OK. Adding the key as argument allows to select either the data or string sections to add. Added a ChangeLog entry and pushed. Thanks, Mark

[PATCH 1/5] readelf: Pull add_dump_section() into file scope

2021-01-08 Thread Timm Bäder via Elfutils-devel
From: Timm Bäder Get rid of a nested function this way. Signed-off-by: Timm Bäder --- src/readelf.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/readelf.c b/src/readelf.c index 829a418d..a95fc0aa 100644 --- a/src/readelf.c +++ b/s