]> git.ipfire.org Git - thirdparty/qemu.git/commit
dump: Remove the sh_info variable
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 7 Apr 2022 09:48:24 +0000 (09:48 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 22 Apr 2022 09:36:03 +0000 (13:36 +0400)
commit046bc4160bc780eaacc2d702a2589f1a7a01188d
tree7deb4b3f8825aa0a13539f26040f08c22b482c72
parent86a518bba4f4d7c9016fc5b104fe1e58b00ad756
dump: Remove the sh_info variable

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220407094824.5074-1-frankja@linux.ibm.com>
dump/dump.c
include/sysemu/dump.h