Re: [PATCH v2 8/9] dump: Cleanup dump_begin write functions

2022-03-11 Thread Richard Henderson
On 3/10/22 03:08, Janosch Frank wrote: There's no need to have a gigantic if in there let's move the elf 32/64 bit logic into the section, segment or note code. Signed-off-by: Janosch Frank --- dump/dump.c | 42 +++--- 1 file changed, 11 insertions(+), 31 d

[PATCH v2 8/9] dump: Cleanup dump_begin write functions

2022-03-10 Thread Janosch Frank
There's no need to have a gigantic if in there let's move the elf 32/64 bit logic into the section, segment or note code. Signed-off-by: Janosch Frank --- dump/dump.c | 42 +++--- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/dump/dump.c b/du