qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/9] dump: Remove the sh_info variable


From: Richard Henderson
Subject: Re: [PATCH v2 2/9] dump: Remove the sh_info variable
Date: Fri, 11 Mar 2022 11:40:33 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/10/22 03:08, Janosch Frank wrote:
There's no need to have phdr_num and sh_info at the same time. We can
make phdr_num 32 bit and set PN_XNUM when we write the header if
phdr_num >= PN_XNUM.

Signed-off-by: Janosch Frank<frankja@linux.ibm.com>
---
  dump/dump.c           | 34 ++++++++++++++--------------------
  include/sysemu/dump.h |  3 +--
  2 files changed, 15 insertions(+), 22 deletions(-)

Nice.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]