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

2022-03-11 Thread Richard Henderson
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 --- dump/dump.c | 34 ++ in

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

2022-03-10 Thread Janosch Frank
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 --- dump/dump.c | 34 ++ include/sysemu/dump.h | 3 +-- 2 files chan